Don't call internal __pthread_unwind via PLT
Commit Message
There is no need to call the internal funtion, __GI___pthread_unwind,
in x86-64 cancellation.S.
Tested on x86-64. OK for master?
H.J.
---
* sysdeps/unix/sysv/linux/x86_64/cancellation.S (JUMPTARGET): New
if __pthread_unwind defined to __GI___pthread_unwind.
---
sysdeps/unix/sysv/linux/x86_64/cancellation.S | 2 ++
1 file changed, 2 insertions(+)
@@ -24,6 +24,8 @@
#if IS_IN (libpthread)
# if defined SHARED && !defined NO_HIDDEN
# define __pthread_unwind __GI___pthread_unwind
+# undef JUMPTARGET
+# define JUMPTARGET(name) name
# endif
#else
# ifndef SHARED