From c9bb4e57f462f27ba97ac5ebb140eb98c53510b0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 10 Jul 2005 06:59:41 +0000 Subject: define an abort instruction for m68k --- libc/stdlib/abort.c | 2 ++ 1 file changed, 2 insertions(+) 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__) -- cgit v1.2.3