Explorar o código

define an abort instruction for m68k

Mike Frysinger %!s(int64=20) %!d(string=hai) anos
pai
achega
c9bb4e57f4
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      libc/stdlib/abort.c

+ 2 - 0
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__)