From a87731e262c909f2127a57f42563ece410789abe Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 15 Mar 2003 09:51:22 +0000 Subject: Update. 2003-03-15 Ulrich Drepper * 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. --- nptl/sysdeps/unix/sysv/linux/jmp-unwind.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nptl/sysdeps/unix/sysv/linux/jmp-unwind.c') 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 #include #include +#include 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); } -- cgit 1.4.1