diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/m68k/crt0.S | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/m68k/crt0.S b/libc/sysdeps/linux/m68k/crt0.S index 06b4b54f5..04aae1466 100644 --- a/libc/sysdeps/linux/m68k/crt0.S +++ b/libc/sysdeps/linux/m68k/crt0.S @@ -21,6 +21,9 @@ Cambridge, MA 02139, USA. */ * NOTE: this file works for PIC and non-PIC code. Be very careful how * you modify it ! */ + +#include <features.h> + .global _start .global __exit .global atexit @@ -50,8 +53,9 @@ __exit: */ empty_func: rts -#if defined HAVE_ELF +#if defined(HAVE_ELF) .weak atexit + atexit = empty_func #else .set atexit,empty_func #endif |