diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-12 20:03:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-12 20:03:07 +0000 |
commit | d0369fb8a9c86f4aefbfaca422c35a56a97dbf36 (patch) | |
tree | 6fe6eaae672b5810ce7dbf259022b2bd31719117 /nptl/sysdeps/unix/sysv/linux/i386 | |
parent | 6aebe7340d0ca3137949c790f84dd4b542a1c1a2 (diff) | |
download | glibc-d0369fb8a9c86f4aefbfaca422c35a56a97dbf36.tar.gz glibc-d0369fb8a9c86f4aefbfaca422c35a56a97dbf36.tar.xz glibc-d0369fb8a9c86f4aefbfaca422c35a56a97dbf36.zip |
Update.
2003-03-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/tls.h [__ASSEMBLER__]: Include tcb-offsets.h. * sysdeps/x86_64/tcb-offsets.sym: New file. * sysdeps/x86_64/Makefile: New file. * sysdeps/i386/tcb-offsets.sym: Add SELF. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Use SELF to access own pthread_t in TCB. * 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_wrlock.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: New file. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: New file. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h (pthread_cond_t): Add padding.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386')
4 files changed, 6 insertions, 6 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S index 064d30dc34..30a2e2c092 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S @@ -124,7 +124,7 @@ __pthread_rwlock_rdlock: call __lll_mutex_lock_wait jmp 2b -14: cmpl %gs:8, %eax +14: cmpl %gs:SELF, %eax jne 3b /* Deadlock detected. */ movl $EDEADLK, %ecx 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 1fd04f815d..3ebe2a55f8 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 @@ -165,7 +165,7 @@ pthread_rwlock_timedrdlock: call __lll_mutex_lock_wait jmp 2b -14: cmpl %gs:8, %eax +14: cmpl %gs:SELF, %eax jne 3b movl $EDEADLK, %ecx jmp 9b diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S index ee9e6fa00e..9614f24cb2 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S @@ -135,7 +135,7 @@ pthread_rwlock_timedwrlock: 5: xorl %ecx, %ecx - movl %gs:8, %eax + movl %gs:SELF, %eax movl %eax, WRITER(%ebp) 9: LOCK #if MUTEX == 0 @@ -163,7 +163,7 @@ pthread_rwlock_timedwrlock: call __lll_mutex_lock_wait jmp 2b -14: cmpl %gs:8, %eax +14: cmpl %gs:SELF, %eax jne 3b 20: movl $EDEADLK, %ecx jmp 9b diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S index 6c8b9e6d56..10b176edce 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S @@ -97,7 +97,7 @@ __pthread_rwlock_wrlock: jmp 2b 5: xorl %ecx, %ecx - movl %gs:8, %eax + movl %gs:SELF, %eax movl %eax, WRITER(%ebx) 9: LOCK #if MUTEX == 0 @@ -122,7 +122,7 @@ __pthread_rwlock_wrlock: call __lll_mutex_lock_wait jmp 2b -14: cmpl %gs:8, %eax +14: cmpl %gs:SELF, %eax jne 3b movl $EDEADLK, %ecx jmp 9b |