summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/m68k/crt0.S2
1 files changed, 2 insertions, 0 deletions
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
*/