riscv: align stack before calling _dl_init [BZ #28703]
[glibc.git] / sysdeps / m68k / nptl / tcb-offsets.sym
blob241fb8b47c3b5305ff12920a87619ec5e93ed37d
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) - TLS_TCB_OFFSET - TLS_PRE_TCB_SIZE)
9 MULTIPLE_THREADS_OFFSET         thread_offsetof (header.multiple_threads)
10 TID_OFFSET                      thread_offsetof (tid)