summaryrefslogtreecommitdiff
path: root/libc/ports/sysdeps/aarch64/nptl/tcb-offsets.sym
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ports/sysdeps/aarch64/nptl/tcb-offsets.sym')
-rw-r--r--libc/ports/sysdeps/aarch64/nptl/tcb-offsets.sym7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/ports/sysdeps/aarch64/nptl/tcb-offsets.sym b/libc/ports/sysdeps/aarch64/nptl/tcb-offsets.sym
new file mode 100644
index 000000000..0677aeabf
--- /dev/null
+++ b/libc/ports/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)