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

#define thread_offsetof(mem)   (long)(offsetof (struct pthread, mem) - TLS_TCB_OFFSET - TLS_PRE_TCB_SIZE)

MULTIPLE_THREADS_OFFSET                thread_offsetof (header.multiple_threads)