Browse Source

Wrap uClinux specific stuff, so this will run on
macs and such that have an MMU
-Erik

Eric Andersen 22 years ago
parent
commit
92eed29da4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libc/sysdeps/linux/m68k/crt0.S

+ 2 - 0
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
  */