2005-12-27 Roland McGrath <roland@redhat.com>
[glibc-ports.git] / sysdeps / arm / nptl / tcb-offsets.sym
blob92cc441d3d6b8ff7c2b8cefcab497851f4202876
1 #include <sysdep.h>
2 #include <tls.h>
4 --
6 -- Derive offsets relative to the thread register.
7 #define thread_offsetof(mem)    (long)(offsetof(struct pthread, mem) - sizeof(struct pthread))
9 MULTIPLE_THREADS_OFFSET         thread_offsetof (header.multiple_threads)
10 PID_OFFSET                      thread_offsetof (pid)
11 TID_OFFSET                      thread_offsetof (tid)