diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-10 06:59:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-10 06:59:41 +0000 |
commit | c9bb4e57f462f27ba97ac5ebb140eb98c53510b0 (patch) | |
tree | 721d363a5fa1b7090b42da5767f96ec615b1dbda /libc/stdlib/abort.c | |
parent | 5473efd36766490f8f4edbcab11e61f7ebb5ef19 (diff) |
define an abort instruction for m68k
Diffstat (limited to 'libc/stdlib/abort.c')
-rw-r--r-- | libc/stdlib/abort.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdlib/abort.c b/libc/stdlib/abort.c index a27dc3c1d..05d7a6836 100644 --- a/libc/stdlib/abort.c +++ b/libc/stdlib/abort.c @@ -38,6 +38,8 @@ Cambridge, MA 02139, USA. */ #define ABORT_INSTRUCTION asm ("hlt") #elif defined(__ia64__) #define ABORT_INSTRUCTION asm ("break 0") +#elif defined(__m68k__) +#define ABORT_INSTRUCTION asm ("illegal") #elif defined(__mc68000__) #define ABORT_INSTRUCTION asm (".long 0xffffffff") #elif defined(__mips__) |