Explorar o código

define an abort instruction for alpha

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

+ 3 - 1
libc/stdlib/abort.c

@@ -30,7 +30,9 @@ Cambridge, MA 02139, USA.  */
 
 
 /* Our last ditch effort to commit suicide */
-#if defined(__hppa__)
+#if defined(__alpha__)
+#define ABORT_INSTRUCTION asm ("call_pal 0")
+#elif defined(__hppa__)
 #define ABORT_INSTRUCTION asm ("iitlbp %r0,(%r0)")
 #elif defined(__i386__)
 #define ABORT_INSTRUCTION asm ("hlt")