diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-15 09:51:22 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-15 09:51:22 +0000 |
commit | a87731e262c909f2127a57f42563ece410789abe (patch) | |
tree | c8c9f79d3c582b3d23b7d9b55723bd5e836efe80 /nptl/sysdeps/unix/sysv/linux | |
parent | 92ed3daf013788e18a1bb339721aa76389039863 (diff) | |
download | glibc-a87731e262c909f2127a57f42563ece410789abe.tar glibc-a87731e262c909f2127a57f42563ece410789abe.tar.gz glibc-a87731e262c909f2127a57f42563ece410789abe.tar.bz2 glibc-a87731e262c909f2127a57f42563ece410789abe.zip |
Update.
2003-03-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/pthreaddef.h (CURRENT_STACK_FRAME): Don't use
__builtin_frame_address, use stack pointer.
* sysdeps/unix/sysv/linux/jmp-unwind.c: Use CURRENT_STACK_FRAME
instead of __builtin_frame_pointer.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/jmp-unwind.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c b/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c index d6fbcc39eb..67350c2151 100644 --- a/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c +++ b/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c @@ -20,6 +20,7 @@ #include <setjmp.h> #include <stddef.h> #include <pthread-functions.h> +#include <pthreaddef.h> extern void __pthread_cleanup_upto (__jmp_buf env, char *targetframe); #pragma weak __pthread_cleanup_upto @@ -35,5 +36,5 @@ _longjmp_unwind (jmp_buf env, int val) #endif if (fptr != NULL) - fptr (env->__jmpbuf, __builtin_frame_address (0)); + fptr (env->__jmpbuf, CURRENT_STACK_FRAME); } |