tlsdesc.sym 546 B

1234567891011121314151617
  1. #include <stddef.h>
  2. #include <sysdep.h>
  3. #include <tls.h>
  4. #include <link.h>
  5. #include <dl-tls.h>
  6. --
  7. -- Abuse tls.h macros to derive offsets relative to the thread register.
  8. TLSDESC_ARG offsetof(struct tlsdesc, arg)
  9. TLSDESC_GEN_COUNT offsetof(struct tlsdesc_dynamic_arg, gen_count)
  10. TLSDESC_MODID offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_module)
  11. TLSDESC_MODOFF offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_offset)
  12. TCBHEAD_DTV offsetof(tcbhead_t, dtv)
  13. DTV_COUNTER offsetof(dtv_t, counter)
  14. TLS_DTV_UNALLOCATED TLS_DTV_UNALLOCATED