about summary refs log tree commit diff
path: root/ports/sysdeps/ia64/nptl/tcb-offsets.sym
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/ia64/nptl/tcb-offsets.sym')
-rw-r--r--ports/sysdeps/ia64/nptl/tcb-offsets.sym7
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/sysdeps/ia64/nptl/tcb-offsets.sym b/ports/sysdeps/ia64/nptl/tcb-offsets.sym
new file mode 100644
index 0000000000..e1707ab1c8
--- /dev/null
+++ b/ports/sysdeps/ia64/nptl/tcb-offsets.sym
@@ -0,0 +1,7 @@
+#include <sysdep.h>
+#include <tls.h>
+
+PID			offsetof (struct pthread, pid) - TLS_PRE_TCB_SIZE
+TID			offsetof (struct pthread, tid) - TLS_PRE_TCB_SIZE
+MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads) - TLS_PRE_TCB_SIZE
+SYSINFO_OFFSET		offsetof (tcbhead_t, __private)