[klibc] [patch] m68k build crt0

maximilian attems maks at sternwelten.at
Fri May 5 14:23:51 PDT 2006


found by Christian T. Steigies <cts at 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 at 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



More information about the klibc mailing list