mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 22:30:07 +00:00
Update.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (__lll_mutex_timedlock_wait): Preserve r8 and r9 since the vgettimeofday call miht destroy the content.
This commit is contained in:
parent
7fe1586f46
commit
565699e492
@ -1,5 +1,9 @@
|
|||||||
2004-03-23 Ulrich Drepper <drepper@redhat.com>
|
2004-03-23 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
|
||||||
|
(__lll_mutex_timedlock_wait): Preserve r8 and r9 since the
|
||||||
|
vgettimeofday call miht destroy the content.
|
||||||
|
|
||||||
* sysdeps/ia64/pthread_spin_lock.c (pthread_spin_lock): Use hint
|
* sysdeps/ia64/pthread_spin_lock.c (pthread_spin_lock): Use hint
|
||||||
@pause in the loop.
|
@pause in the loop.
|
||||||
|
|
||||||
|
@ -78,6 +78,8 @@ __lll_mutex_timedlock_wait:
|
|||||||
cmpq $1000000000, 8(%rdx)
|
cmpq $1000000000, 8(%rdx)
|
||||||
jae 3f
|
jae 3f
|
||||||
|
|
||||||
|
pushq %r8
|
||||||
|
pushq %r9
|
||||||
pushq %r12
|
pushq %r12
|
||||||
pushq %r13
|
pushq %r13
|
||||||
pushq %r14
|
pushq %r14
|
||||||
@ -142,6 +144,8 @@ __lll_mutex_timedlock_wait:
|
|||||||
popq %r14
|
popq %r14
|
||||||
popq %r13
|
popq %r13
|
||||||
popq %r12
|
popq %r12
|
||||||
|
popq %r9
|
||||||
|
popq %r8
|
||||||
retq
|
retq
|
||||||
|
|
||||||
/* Check whether the time expired. */
|
/* Check whether the time expired. */
|
||||||
|
Loading…
Reference in New Issue
Block a user