diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-11-24 09:01:04 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-11-24 09:01:04 +0000 |
commit | 92eed29da4afd1128f00158e9760837f08ebea1c (patch) | |
tree | 8316e1835fd09eeef31c89ad8f5908ae88f1d993 /libc/sysdeps/linux | |
parent | 96521449dbd32d51a90574e7821861730c36ffc6 (diff) |
Wrap uClinux specific stuff, so this will run on
macs and such that have an MMU
-Erik
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/m68k/crt0.S | 2 |
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 */ |