aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/powerpc/powerpc32/tcb-offsets.sym
blob: 8c6bddb456b51c033b12fe778c9b968aaabee00b (plain)
1
2
3
4
5
6
7
8
9
#include <sysdep.h>
#include <tls.h>

--
#ifdef USE_TLS
MULTIPLE_THREADS_OFFSET	((void *) &p_multiple_threads ((pthread_descr) ((void *) 0 - TLS_TCB_OFFSET - TLS_PRE_TCB_SIZE)) - (void *) 0)
#else
MULTIPLE_THREADS_OFFSET	offsetof (tcbhead_t, multiple_threads)
#endif