mirror of git://sourceware.org/git/glibc.git
Update.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S (__lll_timedwait_tid): Remove one unnecessary instruction.
This commit is contained in:
parent
51f32ab883
commit
3273832c67
|
|
@ -1,5 +1,8 @@
|
||||||
2003-03-10 Ulrich Drepper <drepper@redhat.com>
|
2003-03-10 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
|
||||||
|
(__lll_timedwait_tid): Remove one unnecessary instruction.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: Define
|
* sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: Define
|
||||||
__lll_mutex_timedlock_wait only for NOT_IN_libc.
|
__lll_mutex_timedlock_wait only for NOT_IN_libc.
|
||||||
* sysdeps/unix/sysv/linux/sh/libc-lowlevelmutex.S: Include
|
* sysdeps/unix/sysv/linux/sh/libc-lowlevelmutex.S: Include
|
||||||
|
|
|
||||||
|
|
@ -162,8 +162,6 @@ __lll_timedwait_tid:
|
||||||
movl $SYS_futex, %eax
|
movl $SYS_futex, %eax
|
||||||
ENTER_KERNEL
|
ENTER_KERNEL
|
||||||
|
|
||||||
movl %eax, %edx
|
|
||||||
|
|
||||||
cmpl $0, (%ebx)
|
cmpl $0, (%ebx)
|
||||||
jne 1f
|
jne 1f
|
||||||
4: xorl %eax, %eax
|
4: xorl %eax, %eax
|
||||||
|
|
@ -175,7 +173,7 @@ __lll_timedwait_tid:
|
||||||
popl %edi
|
popl %edi
|
||||||
ret
|
ret
|
||||||
|
|
||||||
1: cmpl $-ETIMEDOUT, %edx
|
1: cmpl $-ETIMEDOUT, %eax
|
||||||
jne 2b
|
jne 2b
|
||||||
6: movl $ETIMEDOUT, %eax
|
6: movl $ETIMEDOUT, %eax
|
||||||
jmp 3b
|
jmp 3b
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue