1 /* Force .data aligned to 4K, so .got very likely gets at 0x102190
2 (0x60 bytes .tdata and 0x130 bytes .dynamic) */
5 .section ".tdata", "awT", @progbits
6 .globl sg1, sg2, sg3, sg4, sg5, sg6, sg7, sg8
7 .globl sh1, sh2, sh3, sh4, sh5, sh6, sh7, sh8
8 .hidden sh1, sh2, sh3, sh4, sh5, sh6, sh7, sh8
33 /* Force .text aligned to 4K, so it very likely gets at 0x1000. */
44 leaq sg1@tlsdesc
(%rip
), %rax
45 call
*sg1@tlscall
(%rax
)
48 /* GD -> IE because variable is referenced through IE too */
49 leaq sg2@tlsdesc
(%rip
), %rax
50 call
*sg2@tlscall
(%rax
)
53 /* GD against local variable */
54 leaq sl1@tlsdesc
(%rip
), %rax
55 call
*sl1@tlscall
(%rax
)
58 /* GD -> IE against local variable referenced through IE too */
59 leaq sl2@tlsdesc
(%rip
), %rax
60 call
*sl2@tlscall
(%rax
)
63 /* GD against hidden and local variable */
64 leaq sh1@tlsdesc
(%rip
), %rax
65 call
*sh1@tlscall
(%rax
)
68 /* GD -> IE against hidden and local variable referenced through
70 leaq sh2@tlsdesc
(%rip
), %rax
71 call
*sh2@tlscall
(%rax
)
74 /* GD against hidden but not local variable */
75 leaq sH1@tlsdesc
(%rip
), %rax
76 call
*sH1@tlscall
(%rax
)
79 /* GD -> IE against hidden but not local variable referenced through
81 leaq sH2@tlsdesc
(%rip
), %rax
82 call
*sH2@tlscall
(%rax
)
86 leaq _TLS_MODULE_BASE_@tlsdesc
(%rip
), %rax
87 call
*_TLS_MODULE_BASE_@tlscall
(%rax
)
89 leaq sl1@dtpoff
(%rax
), %rdx
91 leaq
2+sl2@dtpoff
(%rax
), %r9
94 /* LD against hidden and local variables */
95 leaq sh1@dtpoff
(%rax
), %rdx
97 leaq sh2@dtpoff+
3(%rax
), %rcx
100 /* LD against hidden but not local variables */
101 leaq sH1@dtpoff
(%rax
), %r12
103 leaq sH2@dtpoff+
1(%rax
), %rcx
106 /* IE against global var */
109 addq sg2@gottpoff
(%rip
), %rcx
112 /* IE against local var */
115 addq sl2@gottpoff
(%rip
), %r14
118 /* IE against hidden and local var */
121 addq sh2@gottpoff
(%rip
), %rcx
124 /* IE against hidden but not local var */
127 addq sH2@gottpoff
(%rip
), %rcx
130 /* Direct access through %fs */
132 /* IE against global var */
133 movq sg5@gottpoff
(%rip
), %rcx
135 movq
%fs:(%rcx
), %rdx
138 /* IE against local var */
139 movq sl5@gottpoff
(%rip
), %r10
141 movq
%fs:(%r10), %r12
144 /* IE against hidden and local var */
145 movq sh5@gottpoff
(%rip
), %rdx
147 movq
%fs:(%rdx
), %rdx
150 /* IE against hidden but not local var */
151 movq sH5@gottpoff
(%rip
), %rcx
153 movq
%fs:(%rcx
), %rdx