5 #include <dl-tlsdesc.h>
9 -- Abuse tls.h macros to derive offsets relative to the thread register.
11 DTV_OFFSET offsetof(struct pthread, header.dtv)
13 TLSDESC_ARG offsetof(struct tlsdesc, arg)
15 TLSDESC_GEN_COUNT offsetof(struct tlsdesc_dynamic_arg, gen_count)
16 TLSDESC_MODID offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_module)
17 TLSDESC_MODOFF offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_offset)
19 TI_MODULE_OFFSET offsetof(tls_index, ti_module)
20 TI_OFFSET_OFFSET offsetof(tls_index, ti_offset)