3 void *tp = __builtin_thread_pointer (); \
7 "1: .word " #x "(tpoff); " \
9 : "=&r" (__result) : "r" (tp)); \
14 void *tp = __builtin_thread_pointer (); \
16 "3: ldr %0, [pc, %0];" \
19 "1: .word " #x "(gottpoff) + (. - 3b - 8); " \
21 : "=&r" (__result) : "r" (tp)); \
27 extern void *__tls_get_addr (void *); \
29 "1: add %0, pc, %0; " \
31 "2: .word " #x "(tlsldm) + (. - 1b - 8); " \
34 __result = (char *)__tls_get_addr (__result); \
37 "1: .word " #x "(tlsldo); " \
40 (int *) (__result + __offset); })
44 extern void *__tls_get_addr (void *); \
46 "1: add %0, pc, %0; " \
48 "2: .word " #x "(tlsgd) + (. - 1b - 8); " \
51 (int *)__tls_get_addr (__result); })