summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1998-04-24 14:43:00 +0000
committerRichard Henderson <rth@redhat.com>1998-04-24 14:43:00 +0000
commitc5c992f10b9b76526eead910b29c5f0a6a9e9ca7 (patch)
treed1b8d9fabf76162b871432d3b74ed81c029801d2 /sysdeps
parent8c0c3e6dc4b2f7ba94771ff1fcf6adc332f42fde (diff)
Don't check against SP.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/alpha/bits/setjmp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/alpha/bits/setjmp.h b/sysdeps/alpha/bits/setjmp.h
index af0b5ae577..a15ab31b47 100644
--- a/sysdeps/alpha/bits/setjmp.h
+++ b/sysdeps/alpha/bits/setjmp.h
@@ -78,6 +78,5 @@ typedef long int __jmp_buf[17];
/* Test if longjmp to JMPBUF would unwind the frame containing a local
variable at ADDRESS. */
#define _JMPBUF_UNWINDS(_jmpbuf, _address) \
- ({ register void *_sp __asm__("$30"); void *_addr = (_address); \
- _sp <= _addr && _addr < (void *)((_jmpbuf)[JB_SP]); })
+ ((void *)(_address) < (void *)((_jmpbuf)[JB_SP]))
#endif