summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/x86_64/tcb-offsets.sym
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/x86_64/tcb-offsets.sym
parent6aebe7340d0ca3137949c790f84dd4b542a1c1a2 (diff)
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/x86_64/tcb-offsets.sym')
-rw-r--r--nptl/sysdeps/x86_64/tcb-offsets.sym6
1 files changed, 6 insertions, 0 deletions
diff --git a/nptl/sysdeps/x86_64/tcb-offsets.sym b/nptl/sysdeps/x86_64/tcb-offsets.sym
new file mode 100644
index 0000000000..046ad5bee8
--- /dev/null
+++ b/nptl/sysdeps/x86_64/tcb-offsets.sym
@@ -0,0 +1,6 @@
+#include <sysdep.h>
+#include <tls.h>
+
+SELF offsetof (tcbhead_t, self)
+CLEANUP offsetof (struct pthread, cleanup)
+CLEANUP_PREV offsetof (struct _pthread_cleanup_buffer, __prev)