When PLT may be used, JUMPTARGET should be used instead calling the
function directly.
* sysdeps/unix/sysv/linux/x86_64/cancellation.S
(__pthread_enable_asynccancel): Use JUMPTARGET to call
__pthread_unwind.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
(__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
(__condvar_cleanup1): Likewise.
+2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/unix/sysv/linux/x86_64/cancellation.S
+ (__pthread_enable_asynccancel): Use JUMPTARGET to call
+ __pthread_unwind.
+ * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
+ (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
+ * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
+ (__condvar_cleanup1): Likewise.
+
2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
[BZ #19822]
lock
orl $TCB_EXITING_BITMASK, %fs:CANCELHANDLING
mov %fs:CLEANUP_JMP_BUF, %RDI_LP
-#ifdef SHARED
- call __pthread_unwind@PLT
-#else
- call __pthread_unwind
-#endif
+ call JUMPTARGET(__pthread_unwind)
hlt
END(__pthread_enable_asynccancel)
movq FRAME_SIZE+16(%rsp), %r13
movq FRAME_SIZE+24(%rsp), %r12
.LcallUR:
- call _Unwind_Resume@PLT
+ call JUMPTARGET(_Unwind_Resume)
hlt
.LENDCODE:
cfi_endproc
8: movq 24(%rsp), %rdi
.LcallUR:
- call _Unwind_Resume@PLT
+ call JUMPTARGET(_Unwind_Resume)
hlt
.LENDCODE:
cfi_endproc