aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/x86_64/tcb-offsets.sym
diff options
context:
space:
mode:
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)