2.9
[glibc/nacl-glibc.git] / sysdeps / i386 / tlsdesc.sym
blob33854975d04184b227a384a547e3dd75b53bf993
1 #include <stddef.h>
2 #include <sysdep.h>
3 #include <tls.h>
4 #include <link.h>
5 #include <dl-tlsdesc.h>
7 --
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)