about summary refs log tree commit diff
path: root/sysdeps/riscv/nptl/tcb-offsets.sym
blob: ab4981f2e2694c607f3d08628916b06dddd1217a (plain) (blame)
1
2
3
4
5
6
#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)