Displaying 1 result from an estimated 1 matches for "780d7a5".
Did you mean:
780975
2006 May 05
0
[patch] m68k build crt0
...t':
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
@@ -22,6 +22,6 @@ _start:
# Push ELF argument pointer on the stack
move.l %d0, -(%a7)
- jbsr ___libc_init
+ jsr __libc_init
.size _start, .-_start