diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-10 06:57:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-10 06:57:25 +0000 |
commit | 5473efd36766490f8f4edbcab11e61f7ebb5ef19 (patch) | |
tree | dabbdcfe0c45ad16a39dc32275f5f9a6a0262008 /libc/stdlib | |
parent | 42ed684f691e3924c38a07cd341aef588d36d0ae (diff) |
define an abort instruction for alpha
Diffstat (limited to 'libc/stdlib')
-rw-r--r-- | libc/stdlib/abort.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/stdlib/abort.c b/libc/stdlib/abort.c index 052bc1782..a27dc3c1d 100644 --- a/libc/stdlib/abort.c +++ b/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") |