diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-09 02:19:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-09 02:19:45 +0000 |
commit | ea0e3fa5e975de65f1cdcde9015bb2e3a720d9ae (patch) | |
tree | c3fa580b168854fbe3a4f585207cea6c00778872 /libc/stdlib | |
parent | 6a2a30ccc6c3dc803abdbfa35cbfa01062af704b (diff) |
add an abort for arm
Diffstat (limited to 'libc/stdlib')
-rw-r--r-- | libc/stdlib/abort.c | 2 |
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__) |