summaryrefslogtreecommitdiff
path: root/libc/stdlib/abort.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-09 02:19:45 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-09 02:19:45 +0000
commitea0e3fa5e975de65f1cdcde9015bb2e3a720d9ae (patch)
treec3fa580b168854fbe3a4f585207cea6c00778872 /libc/stdlib/abort.c
parent6a2a30ccc6c3dc803abdbfa35cbfa01062af704b (diff)
add an abort for arm
Diffstat (limited to 'libc/stdlib/abort.c')
-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 f2ba16c7c..d24d1a94c 100644
--- a/libc/stdlib/abort.c
+++ b/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__)