OSDN Git Service

Wrap uClinux specific stuff, so this will run on
authorEric Andersen <andersen@codepoet.org>
Sat, 24 Nov 2001 09:01:04 +0000 (09:01 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 24 Nov 2001 09:01:04 +0000 (09:01 -0000)
macs and such that have an MMU
 -Erik

libc/sysdeps/linux/m68k/crt0.S

index 04aae14..3e828cc 100644 (file)
@@ -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
  */