about summary refs log tree commit diff
path: root/nptl/sysdeps/i386
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-12 20:03:07 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-12 20:03:07 +0000
commitd0369fb8a9c86f4aefbfaca422c35a56a97dbf36 (patch)
tree6fe6eaae672b5810ce7dbf259022b2bd31719117 /nptl/sysdeps/i386
parent6aebe7340d0ca3137949c790f84dd4b542a1c1a2 (diff)
downloadglibc-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/i386')
-rw-r--r--nptl/sysdeps/i386/tcb-offsets.sym1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/sysdeps/i386/tcb-offsets.sym b/nptl/sysdeps/i386/tcb-offsets.sym
index 5395235506..6a5c16c0ee 100644
--- a/nptl/sysdeps/i386/tcb-offsets.sym
+++ b/nptl/sysdeps/i386/tcb-offsets.sym
@@ -1,6 +1,7 @@
 #include <sysdep.h>
 #include <tls.h>
 
+SELF			offsetof (tcbhead_t, self)
 MULTIPLE_THREADS_OFFSET	offsetof (tcbhead_t, multiple_threads)
 SYSINFO_OFFSET		offsetof (tcbhead_t, sysinfo)
 CLEANUP			offsetof (struct pthread, cleanup)