Displaying 2 results from an estimated 2 matches for "___libc_init".
Did you mean:
__libc_init
2006 May 05
0
[patch] m68k build crt0
found by Christian T. Steigies <cts@debian.org>
usr/klibc/arch/m68k/crt0.o: In function `_start':
usr/klibc/arch/m68k/crt0.S:(.text+0xe): undefined reference to `___libc_init'
too many '_'.
never seen jbsr, converted that to jsr.
Signed-off-by: maximilian attems <maks@sternwelten.at>
diff --git a/usr/klibc/arch/m68k/crt0.S b/usr/klibc/arch/m68k/crt0.S
index 6eb3b51..780d7a5 100644
--- a/usr/klibc/arch/m68k/crt0.S
+++ b/usr/klibc/arch/m68k/crt0.S
@@ -...
2004 Jun 23
4
CRIS port of klibc
...t,@function
- .globl __start
-__start:
+ .type _start,@function
+ .globl _start
+_start:
/* Save the address of the ELF argument array */
move.d $sp,$r10 /* Address of ELF arguments */
@@ -21,8 +21,8 @@
/* Set up a dummy stack frame to keep gcc from getting confused */
push $r11
- jump ___libc_init
+ jump __libc_init
push $r11
- .size __start, .-__start
+ .size _start, .-_start
diff -urN ./klibc/arch/cris/setjmp.S
../klibc-0.146-modified/klibc/arch/cris/setjmp.S
--- ./klibc/arch/cris/setjmp.S Thu Jun 10 20:31:54 2004
+++ ../klibc-0.146-modified/klibc/arch/cris/setjmp.S Wed Jun 23 09:5...