Don't call internal _Unwind_Resume via PLT
There is no need to call the internal funtion, _Unwind_Resume, which is defined in unwind-forcedunwind.c, via PLT. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume call. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S (__condvar_cleanup1): Likewise.
This commit is contained in:
parent
d29261db22
commit
16cd2b35c2
|
@ -1,3 +1,11 @@
|
|||
2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
|
||||
(__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
|
||||
call.
|
||||
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
|
||||
(__condvar_cleanup1): Likewise.
|
||||
|
||||
2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
|
||||
|
|
|
@ -586,7 +586,7 @@ __condvar_cleanup2:
|
|||
movq FRAME_SIZE+16(%rsp), %r13
|
||||
movq FRAME_SIZE+24(%rsp), %r12
|
||||
.LcallUR:
|
||||
call JUMPTARGET(_Unwind_Resume)
|
||||
call _Unwind_Resume
|
||||
hlt
|
||||
.LENDCODE:
|
||||
cfi_endproc
|
||||
|
|
|
@ -518,7 +518,7 @@ __condvar_cleanup1:
|
|||
|
||||
8: movq 24(%rsp), %rdi
|
||||
.LcallUR:
|
||||
call JUMPTARGET(_Unwind_Resume)
|
||||
call _Unwind_Resume
|
||||
hlt
|
||||
.LENDCODE:
|
||||
cfi_endproc
|
||||
|
|
Loading…
Reference in New Issue