diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-01-09 19:35:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-01-09 19:35:10 +0000 |
commit | ae11e4128c9a209c62c1c79532318f1ea0ab76f8 (patch) | |
tree | ed401be5ccb1091ce2d908d257d4881fc16af499 /nptl | |
parent | 6e741bc3cb8c832a98a5f0845099c10edc07e7c5 (diff) | |
download | glibc-ae11e4128c9a209c62c1c79532318f1ea0ab76f8.tar.gz glibc-ae11e4128c9a209c62c1c79532318f1ea0ab76f8.tar.xz glibc-ae11e4128c9a209c62c1c79532318f1ea0ab76f8.zip |
* sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS_ADJ): Add
stack bias to mc_ftp field.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 5 | ||||
-rw-r--r-- | nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 9e592c9fb5..34885818b2 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -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 diff --git a/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h b/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h index 92c296b0cf..efb6918c14 100644 --- a/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h +++ b/nptl/sysdeps/sparc/sparc64/jmpbuf-unwind.h @@ -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) |