5 #include <dl-tlsdesc.h>
9 -- Abuse tls.h macros to derive offsets relative to the thread register.
11 TLSDESC_ARG offsetof(struct tlsdesc, arg)
13 TLSDESC_GEN_COUNT offsetof(struct tlsdesc_dynamic_arg, gen_count)
14 TLSDESC_MODID offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_module)
15 TLSDESC_MODOFF offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_offset)
16 TCBHEAD_DTV offsetof(tcbhead_t, dtv)
17 DTV_COUNTER offsetof(dtv_t, counter)
18 TLS_DTV_UNALLOCATED TLS_DTV_UNALLOCATED