aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/aarch64/nptl/tcb-offsets.sym
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/aarch64/nptl/tcb-offsets.sym')
-rw-r--r--sysdeps/aarch64/nptl/tcb-offsets.sym7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/aarch64/nptl/tcb-offsets.sym b/sysdeps/aarch64/nptl/tcb-offsets.sym
new file mode 100644
index 0000000000..0677aeabff
--- /dev/null
+++ b/sysdeps/aarch64/nptl/tcb-offsets.sym
@@ -0,0 +1,7 @@
+#include <sysdep.h>
+#include <tls.h>
+
+PTHREAD_MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads)
+PTHREAD_PID_OFFSET offsetof (struct pthread, pid)
+PTHREAD_TID_OFFSET offsetof (struct pthread, tid)
+PTHREAD_SIZEOF sizeof (struct pthread)