Browse Source

add an abort for arm

Mike Frysinger 20 years ago
parent
commit
ea0e3fa5e9
1 changed files with 2 additions and 0 deletions
  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__)