* sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS_ADJ): Add

stack bias to mc_ftp field.
This commit is contained in:
Ulrich Drepper 2006-01-09 19:35:10 +00:00
parent 6e741bc3cb
commit ae11e4128c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-01-09 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS_ADJ): Add
stack bias to mc_ftp field.
2006-01-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/aio_misc.h (AIO_MISC_WAIT): Work around gcc

View File

@ -25,7 +25,8 @@
_JMPBUF_UNWINDS_ADJ (_jmpbuf, (void *) _Unwind_GetCFA (_context), _adj)
#define _JMPBUF_UNWINDS_ADJ(_jmpbuf, _address, _adj) \
((uintptr_t) (_address) - (_adj) < (uintptr_t) (_jmpbuf)[0].uc_mcontext.mc_fp - (_adj))
((uintptr_t) (_address) - (_adj) \
< (uintptr_t) (_jmpbuf)[0].uc_mcontext.mc_fp + 2047 - (_adj))
/* We use the normal lobngjmp for unwinding. */
#define __libc_unwind_longjmp(buf, val) __libc_longjmp (buf, val)