From 873fa5beccbb4e95d1bbb9afb6a0eec02811f09b Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Fri, 25 Jul 2014 17:39:05 +0530 Subject: NPTL: ARC support Signed-off-by: Vineet Gupta Signed-off-by: Bernhard Reutner-Fischer --- libpthread/nptl/sysdeps/arc/tcb-offsets.sym | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 libpthread/nptl/sysdeps/arc/tcb-offsets.sym (limited to 'libpthread/nptl/sysdeps/arc/tcb-offsets.sym') 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 +#include + +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) -- cgit v1.2.3