summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/riscv64/tcb-offsets.sym
blob: 86025a402dde5ec38ceb46afc2bf903c7f62851f (plain)
1
2
3
4
5
6
#include <sysdep.h>
#include <tls.h>

MULTIPLE_THREADS_OFFSET         offsetof (struct pthread, header.multiple_threads)
TID_OFFSET                      offsetof (struct pthread, tid)
TP_TO_PTHREAD_OFFSET            -(sizeof (struct pthread) + sizeof (tcbhead_t))