Blame sysdeps/aarch64/tlsdesc.sym

Packit Service 82fcde
#include <stddef.h>
Packit Service 82fcde
#include <sysdep.h>
Packit Service 82fcde
#include <tls.h>
Packit Service 82fcde
#include <link.h>
Packit Service 82fcde
#include <dl-tlsdesc.h>
Packit Service 82fcde
Packit Service 82fcde
--
Packit Service 82fcde
Packit Service 82fcde
-- Abuse tls.h macros to derive offsets relative to the thread register.
Packit Service 82fcde
Packit Service 82fcde
TLSDESC_ARG			offsetof(struct tlsdesc, arg)
Packit Service 82fcde
Packit Service 82fcde
TLSDESC_GEN_COUNT	offsetof(struct tlsdesc_dynamic_arg, gen_count)
Packit Service 82fcde
TLSDESC_MODID		offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_module)
Packit Service 82fcde
TLSDESC_MODOFF		offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_offset)
Packit Service 82fcde
TCBHEAD_DTV		offsetof(tcbhead_t, dtv)
Packit Service 82fcde
DTV_COUNTER		offsetof(dtv_t, counter)
Packit Service 82fcde
TLS_DTV_UNALLOCATED	TLS_DTV_UNALLOCATED