diff options
author | H. Peter Anvin <hpa@zytor.com> | 2006-05-06 14:16:40 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-05-06 14:16:40 -0700 |
commit | 66cac3b8429067c3c4a00b44eb33199d8f1148f3 (patch) | |
tree | 12f070f434e3c70426e376bb930d9c5a9824ca20 | |
parent | a2eb180d5ecfd4d578646fcd6ffd050bc55b38ec (diff) | |
download | klibc-66cac3b8429067c3c4a00b44eb33199d8f1148f3.tar.gz |
[klibc] m68k fixesklibc-1.3.17
crt0.S: __libc_init, not ___libc_init
sysstub.ph: use move.l not moveq
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | usr/klibc/arch/m68k/crt0.S | 2 | ||||
-rw-r--r-- | usr/klibc/arch/m68k/sysstub.ph | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/klibc/arch/m68k/crt0.S b/usr/klibc/arch/m68k/crt0.S index 6eb3b51e25ef2..0a8aadb3c5bf0 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 + jbsr __libc_init .size _start, .-_start diff --git a/usr/klibc/arch/m68k/sysstub.ph b/usr/klibc/arch/m68k/sysstub.ph index 5f7b329d24e01..78c239d45cfe9 100644 --- a/usr/klibc/arch/m68k/sysstub.ph +++ b/usr/klibc/arch/m68k/sysstub.ph @@ -17,7 +17,7 @@ sub make_sysstub($$$$$@) { $stype = 'common' if ( $stype eq '' ); - print OUT "\tmoveq\t# __NR_${sname}, %d0\n"; + print OUT "\tmove.l\t# __NR_${sname}, %d0\n"; print OUT "\tbr\t__syscall_$stype\n"; print OUT "\t.size ${fname},.-${fname}\n"; close(OUT); |