Minial unwind section size reduction.

This commit is contained in:
Ulrich Drepper 2009-11-17 22:55:55 -08:00
parent 424bea69fb
commit b5f2ab824c
2 changed files with 17 additions and 17 deletions

View File

@ -1,5 +1,8 @@
2009-11-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Minimally
reduce size of unwind info.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Convert to use
cfi directives.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.

View File

@ -69,6 +69,7 @@ __pthread_cond_timedwait:
#endif
subq $FRAME_SIZE, %rsp
cfi_adjust_cfa_offset(FRAME_SIZE)
cfi_remember_state
cmpq $1000000000, 8(%rdx)
movl $EINVAL, %eax
@ -317,11 +318,7 @@ __pthread_cond_timedwait:
retq
cfi_adjust_cfa_offset(4 * 8 + FRAME_SIZE)
cfi_rel_offset(%r12, FRAME_SIZE + 24)
cfi_rel_offset(%r13, FRAME_SIZE + 16)
cfi_rel_offset(%r14, FRAME_SIZE + 8)
cfi_rel_offset(%r15, FRAME_SIZE)
cfi_restore_state
64: callq __pthread_mutex_cond_lock_adjust
movq %r14, %rax