summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/arc/tcb-offsets.sym
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/arc/tcb-offsets.sym')
-rw-r--r--libpthread/nptl/sysdeps/arc/tcb-offsets.sym8
1 files changed, 8 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/arc/tcb-offsets.sym b/libpthread/nptl/sysdeps/arc/tcb-offsets.sym
new file mode 100644
index 000000000..cbf0ae42c
--- /dev/null
+++ b/libpthread/nptl/sysdeps/arc/tcb-offsets.sym
@@ -0,0 +1,8 @@
+#include <sysdep.h>
+#include <tls.h>
+
+PTHREAD_TID offsetof (struct pthread, tid)
+PTHREAD_PID offsetof (struct pthread, pid)
+MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads)
+TLS_PRE_TCB_SIZE sizeof (struct pthread)
+TLS_TCB_SIZE sizeof(tcbhead_t)