summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/arc/tcb-offsets.sym
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-07-25 17:39:05 +0530
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-08-18 11:52:34 +0200
commit873fa5beccbb4e95d1bbb9afb6a0eec02811f09b (patch)
tree17ceb2c595fe9a491f3e7fa91d7c379babf2c356 /libpthread/nptl/sysdeps/arc/tcb-offsets.sym
parent6915b3a6b96e8e34601941c0eb7519cde1c0f999 (diff)
NPTL: ARC support
Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
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)