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_unlock.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_unlock.S')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S index a23e1b50a8..bf9c33ea9f 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S @@ -110,7 +110,7 @@ __pthread_rwlock_unlock: #else leal MUTEX(%edi), %edx #endif - movl PSHARED(%edi), %ecx + movzbl PSHARED(%edi), %ecx call __lll_lock_wait jmp 2b @@ -120,7 +120,7 @@ __pthread_rwlock_unlock: #else leal MUTEX(%edi), %eax #endif - movl PSHARED(%edi), %ecx + movzbl PSHARED(%edi), %ecx call __lll_unlock_wake jmp 4b @@ -130,7 +130,7 @@ __pthread_rwlock_unlock: #else leal MUTEX(%edi), %eax #endif - movl PSHARED(%edi), %ecx + movzbl PSHARED(%edi), %ecx call __lll_unlock_wake jmp 8b |