From 893e371b2f27f7fd6f503cefce8d9f754aaefd58 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 21 Mar 2016 06:38:17 -0700 Subject: Use JUMPTARGET in x86-64 pthread 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. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 17c9dc054c..f662d9aef7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2016-03-21 H.J. Lu + + * 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 [BZ #19822] -- cgit v1.2.3