From 92eed29da4afd1128f00158e9760837f08ebea1c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 24 Nov 2001 09:01:04 +0000 Subject: Wrap uClinux specific stuff, so this will run on macs and such that have an MMU -Erik --- libc/sysdeps/linux/m68k/crt0.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/sysdeps/linux/m68k/crt0.S b/libc/sysdeps/linux/m68k/crt0.S index 04aae1466..3e828cc3a 100644 --- a/libc/sysdeps/linux/m68k/crt0.S +++ b/libc/sysdeps/linux/m68k/crt0.S @@ -34,7 +34,9 @@ Cambridge, MA 02139, USA. */ nop _start: /* put here so that references to _start work with elf-PIC */ +#ifndef __UCLIBC_HAS_MMU__ movea.l %d5, %a5 /* uClinux passes in data segment here */ +#endif /* * argc, argv and envp are on the stack, just call to main */ -- cgit v1.2.3