summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-15 09:51:22 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-15 09:51:22 +0000
commita87731e262c909f2127a57f42563ece410789abe (patch)
treec8c9f79d3c582b3d23b7d9b55723bd5e836efe80 /nptl/sysdeps/unix/sysv/linux/jmp-unwind.c
parent92ed3daf013788e18a1bb339721aa76389039863 (diff)
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/jmp-unwind.c')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/jmp-unwind.c3
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);
}