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:
H.J. Lu 2016-05-18 13:43:09 -07:00
parent d29261db22
commit 16cd2b35c2
3 changed files with 10 additions and 2 deletions

View File

@ -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):

View File

@ -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

View File

@ -518,7 +518,7 @@ __condvar_cleanup1:
8: movq 24(%rsp), %rdi
.LcallUR:
call JUMPTARGET(_Unwind_Resume)
call _Unwind_Resume
hlt
.LENDCODE:
cfi_endproc