HelenOS sources
ARCH_TP_OFFSET 44 uspace/lib/c/arch/abs32le/include/libarch/tls.h #define ARCH_TP_OFFSET 0
ARCH_TP_OFFSET 40 uspace/lib/c/arch/amd64/include/libarch/tls.h #define ARCH_TP_OFFSET 0
ARCH_TP_OFFSET 44 uspace/lib/c/arch/arm32/include/libarch/tls.h #define ARCH_TP_OFFSET (sizeof(tcb_t) - 8)
ARCH_TP_OFFSET 42 uspace/lib/c/arch/arm64/include/libarch/tls.h #define ARCH_TP_OFFSET (sizeof(tcb_t) - 16)
ARCH_TP_OFFSET 40 uspace/lib/c/arch/ia32/include/libarch/tls.h #define ARCH_TP_OFFSET 0
ARCH_TP_OFFSET 40 uspace/lib/c/arch/ia64/include/libarch/tls.h #define ARCH_TP_OFFSET 0
ARCH_TP_OFFSET 63 uspace/lib/c/arch/mips32/include/libarch/tls.h #define ARCH_TP_OFFSET (0x7000 + sizeof(tcb_t))
ARCH_TP_OFFSET 42 uspace/lib/c/arch/ppc32/include/libarch/tls.h #define ARCH_TP_OFFSET (0x7000 + sizeof(tcb_t))
ARCH_TP_OFFSET 43 uspace/lib/c/arch/riscv64/include/libarch/tls.h #define ARCH_TP_OFFSET 0
ARCH_TP_OFFSET 43 uspace/lib/c/arch/sparc64/include/libarch/tls.h #define ARCH_TP_OFFSET 0
HelenOS homepage, sources at GitHub