diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-05-11 05:42:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-05-11 05:42:25 +0000 |
commit | cdffaaa61555d4b1b102b1a86be7f257be405ed6 (patch) | |
tree | 2c45bbb0082e6ec404fdbfa1b15e0f5f00438bba /nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S | |
parent | 7e71e55f16e037042671cf70f8f130f26e494b74 (diff) | |
download | glibc-cdffaaa61555d4b1b102b1a86be7f257be405ed6.tar.gz glibc-cdffaaa61555d4b1b102b1a86be7f257be405ed6.tar.xz glibc-cdffaaa61555d4b1b102b1a86be7f257be405ed6.zip |
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Access
__pshared correctly. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise. Reported by Clemens Kolbitsch <clemens.kol@gmx.at>.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S index 0d96e03252..89027284ec 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S @@ -162,7 +162,7 @@ pthread_rwlock_timedrdlock: #else leal MUTEX(%ebp), %edx #endif - movl PSHARED(%ebp), %ecx + movzbl PSHARED(%ebp), %ecx call __lll_lock_wait jmp 2b @@ -177,7 +177,7 @@ pthread_rwlock_timedrdlock: #else leal MUTEX(%ebp), %eax #endif - movl PSHARED(%ebp), %ecx + movzbl PSHARED(%ebp), %ecx call __lll_unlock_wake jmp 7b @@ -197,7 +197,7 @@ pthread_rwlock_timedrdlock: #else leal MUTEX(%ebp), %eax #endif - movl PSHARED(%ebp), %ecx + movzbl PSHARED(%ebp), %ecx call __lll_unlock_wake jmp 11b @@ -207,7 +207,7 @@ pthread_rwlock_timedrdlock: #else leal MUTEX(%ebp), %edx #endif - movl PSHARED(%ebp), %ecx + movzbl PSHARED(%ebp), %ecx call __lll_lock_wait jmp 13b |