Explorar o código

add an abort for arm

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

+ 2 - 0
libc/stdlib/abort.c

@@ -34,6 +34,8 @@ Cambridge, MA 02139, USA.  */
 /* Our last ditch effort to commit suicide */
 #if defined(__alpha__)
 #define ABORT_INSTRUCTION asm ("call_pal 0")
+#elif defined(__arm__)
+#define ABORT_INSTRUCTION asm ("bl abort")
 #elif defined(__hppa__)
 #define ABORT_INSTRUCTION asm ("iitlbp %r0,(%r0)")
 #elif defined(__i386__)