mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
Don't check against SP.
This commit is contained in:
parent
8c0c3e6dc4
commit
c5c992f10b
@ -78,6 +78,5 @@ typedef long int __jmp_buf[17];
|
|||||||
/* Test if longjmp to JMPBUF would unwind the frame containing a local
|
/* Test if longjmp to JMPBUF would unwind the frame containing a local
|
||||||
variable at ADDRESS. */
|
variable at ADDRESS. */
|
||||||
#define _JMPBUF_UNWINDS(_jmpbuf, _address) \
|
#define _JMPBUF_UNWINDS(_jmpbuf, _address) \
|
||||||
({ register void *_sp __asm__("$30"); void *_addr = (_address); \
|
((void *)(_address) < (void *)((_jmpbuf)[JB_SP]))
|
||||||
_sp <= _addr && _addr < (void *)((_jmpbuf)[JB_SP]); })
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user