1
The PA-RISC ELF ABI puts the function pointer to be registered
2
with atexit in %r23. Use this instead of passing in NULL. While
3
it's unlikely to be used, doing the right thing is good.
5
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
7
diff --git a/klibc/arch/parisc/crt0.S b/klibc/arch/parisc/crt0.S
8
index 7428443..a9b6e96 100644
9
--- a/klibc/arch/parisc/crt0.S
10
+++ b/klibc/arch/parisc/crt0.S
11
@@ -25,8 +25,8 @@ _start:
13
ldo R%$global$(%dp), %dp
15
-/* Indicate that we don't need no stinkin' atexit callback */
17
+/* parisc abi puts the atexit pointer in %r23, see ELF_PLAT_INIT() */
20
/* branch to __libc_init */
23
_______________________________________________
26
http://www.zytor.com/mailman/listinfo/klibc