summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-10 06:59:41 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-10 06:59:41 +0000
commitc9bb4e57f462f27ba97ac5ebb140eb98c53510b0 (patch)
tree721d363a5fa1b7090b42da5767f96ec615b1dbda /libc/stdlib
parent5473efd36766490f8f4edbcab11e61f7ebb5ef19 (diff)
define an abort instruction for m68k
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/abort.c2
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__)