bfd/
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / tlsdesc.dd
1 #source: tlsdesc.s
2 #source: tlspic2.s
3 #as: --64
4 #ld: -shared -melf_x86_64
5 #objdump: -drj.text
6 #target: x86_64-*-*
7
8 .*: +file format elf64-x86-64
9
10 Disassembly of section .text:
11
12 0+[0-9a-f]+ <fn1>:
13 +[0-9a-f]+: 55[ ]+push %rbp
14 +[0-9a-f]+: 48 89 e5[ ]+mov %rsp,%rbp
15 +[0-9a-f]+: 90[ ]+nop *
16 +[0-9a-f]+: 90[ ]+nop *
17 +[0-9a-f]+: 90[ ]+nop *
18 +[0-9a-f]+: 90[ ]+nop *
19 # GD
20 +[0-9a-f]+: 48 8d 05 89 03 20 00[ ]+lea 2098057\(%rip\),%rax +# 201398 <.*>
21 # -> R_X86_64_TLSDESC sg1
22 +[0-9a-f]+: ff 10[ ]+callq \*\(%rax\)
23 +[0-9a-f]+: 90[ ]+nop *
24 +[0-9a-f]+: 90[ ]+nop *
25 +[0-9a-f]+: 90[ ]+nop *
26 +[0-9a-f]+: 90[ ]+nop *
27 # GD -> IE because variable is referenced through IE too
28 +[0-9a-f]+: 48 8b 05 1c 03 20 00[ ]+mov 2097948\(%rip\),%rax +# 201338 <.*>
29 # -> R_X86_64_TPOFF64 sg2
30 +[0-9a-f]+: 90[ ]+nop *
31 +[0-9a-f]+: 90[ ]+nop *
32 +[0-9a-f]+: 90[ ]+nop *
33 +[0-9a-f]+: 90[ ]+nop *
34 +[0-9a-f]+: 90[ ]+nop *
35 +[0-9a-f]+: 90[ ]+nop *
36 # GD against local variable
37 +[0-9a-f]+: 48 8d 05 3f 03 20 00[ ]+lea 2097983\(%rip\),%rax +# 201368 <.*>
38 # -> R_X86_64_TLSDESC [0 0x2000000000000000]
39 +[0-9a-f]+: ff 10[ ]+callq \*\(%rax\)
40 +[0-9a-f]+: 90[ ]+nop *
41 +[0-9a-f]+: 90[ ]+nop *
42 +[0-9a-f]+: 90[ ]+nop *
43 +[0-9a-f]+: 90[ ]+nop *
44 # GD -> IE against local variable referenced through IE too
45 +[0-9a-f]+: 48 8b 05 d2 02 20 00[ ]+mov 2097874\(%rip\),%rax +# 201308 <.*>
46 # -> R_X86_64_TPOFF64 *ABS*+0x24
47 +[0-9a-f]+: 90[ ]+nop *
48 +[0-9a-f]+: 90[ ]+nop *
49 +[0-9a-f]+: 90[ ]+nop *
50 +[0-9a-f]+: 90[ ]+nop *
51 +[0-9a-f]+: 90[ ]+nop *
52 +[0-9a-f]+: 90[ ]+nop *
53 # GD against hidden and local variable
54 +[0-9a-f]+: 48 8d 05 65 03 20 00[ ]+lea 2098021\(%rip\),%rax +# 2013a8 <.*>
55 # -> R_X86_64_TLSDESC [0 0x4000000000000000]
56 +[0-9a-f]+: ff 10[ ]+callq \*\(%rax\)
57 +[0-9a-f]+: 90[ ]+nop *
58 +[0-9a-f]+: 90[ ]+nop *
59 +[0-9a-f]+: 90[ ]+nop *
60 +[0-9a-f]+: 90[ ]+nop *
61 # GD -> IE against hidden and local variable referenced through IE too
62 +[0-9a-f]+: 48 8b 05 f0 02 20 00[ ]+mov 2097904\(%rip\),%rax +# 201340 <.*>
63 # -> R_X86_64_TPOFF64 *ABS*+0x44
64 +[0-9a-f]+: 90[ ]+nop *
65 +[0-9a-f]+: 90[ ]+nop *
66 +[0-9a-f]+: 90[ ]+nop *
67 +[0-9a-f]+: 90[ ]+nop *
68 +[0-9a-f]+: 90[ ]+nop *
69 +[0-9a-f]+: 90[ ]+nop *
70 # GD against hidden but not local variable
71 +[0-9a-f]+: 48 8d 05 1b 03 20 00[ ]+lea 2097947\(%rip\),%rax +# 201378 <.*>
72 # -> R_X86_64_TLSDESC [0 0x6000000000000000]
73 +[0-9a-f]+: ff 10[ ]+callq \*\(%rax\)
74 +[0-9a-f]+: 90[ ]+nop *
75 +[0-9a-f]+: 90[ ]+nop *
76 +[0-9a-f]+: 90[ ]+nop *
77 +[0-9a-f]+: 90[ ]+nop *
78 # GD -> IE against hidden but not local variable referenced through IE too
79 +[0-9a-f]+: 48 8b 05 ae 02 20 00[ ]+mov 2097838\(%rip\),%rax +# 201318 <.*>
80 # -> R_X86_64_TPOFF64 *ABS*+0x64
81 +[0-9a-f]+: 90[ ]+nop *
82 +[0-9a-f]+: 90[ ]+nop *
83 +[0-9a-f]+: 90[ ]+nop *
84 +[0-9a-f]+: 90[ ]+nop *
85 +[0-9a-f]+: 90[ ]+nop *
86 +[0-9a-f]+: 90[ ]+nop *
87 # LD
88 +[0-9a-f]+: 48 8d 05 11 03 20 00[ ]+lea 2097937\(%rip\),%rax +# 201388 <.*>
89 # -> R_X86_64_TLSDESC [0 0x000000000000000]
90 +[0-9a-f]+: ff 10[ ]+callq \*\(%rax\)
91 +[0-9a-f]+: 90[ ]+nop *
92 +[0-9a-f]+: 90[ ]+nop *
93 +[0-9a-f]+: 48 8d 90 20 00 00 00[ ]+lea 0x20\(%rax\),%rdx
94 +[0-9a-f]+: 90[ ]+nop *
95 +[0-9a-f]+: 90[ ]+nop *
96 +[0-9a-f]+: 4c 8d 88 26 00 00 00[ ]+lea 0x26\(%rax\),%r9
97 +[0-9a-f]+: 90[ ]+nop *
98 +[0-9a-f]+: 90[ ]+nop *
99 +[0-9a-f]+: 90[ ]+nop *
100 +[0-9a-f]+: 90[ ]+nop *
101 # LD against hidden and local variables
102 +[0-9a-f]+: 48 8d 90 40 00 00 00[ ]+lea 0x40\(%rax\),%rdx
103 +[0-9a-f]+: 90[ ]+nop *
104 +[0-9a-f]+: 90[ ]+nop *
105 +[0-9a-f]+: 48 8d 88 47 00 00 00[ ]+lea 0x47\(%rax\),%rcx
106 +[0-9a-f]+: 90[ ]+nop *
107 +[0-9a-f]+: 90[ ]+nop *
108 +[0-9a-f]+: 90[ ]+nop *
109 +[0-9a-f]+: 90[ ]+nop *
110 # LD against hidden but not local variables
111 +[0-9a-f]+: 4c 8d a0 60 00 00 00[ ]+lea 0x60\(%rax\),%r12
112 +[0-9a-f]+: 90[ ]+nop *
113 +[0-9a-f]+: 90[ ]+nop *
114 +[0-9a-f]+: 48 8d 88 65 00 00 00[ ]+lea 0x65\(%rax\),%rcx
115 +[0-9a-f]+: 90[ ]+nop *
116 +[0-9a-f]+: 90[ ]+nop *
117 # IE against global var
118 +[0-9a-f]+: 64 48 8b 0c 25 00 00[ ]+mov %fs:0x0,%rcx
119 +[0-9a-f]+: 00 00 *
120 +[0-9a-f]+: 90[ ]+nop *
121 +[0-9a-f]+: 90[ ]+nop *
122 +[0-9a-f]+: 48 03 0d 71 02 20 00[ ]+add 2097777\(%rip\),%rcx +# 201338 <.*>
123 # -> R_X86_64_TPOFF64 sg2
124 +[0-9a-f]+: 90[ ]+nop *
125 +[0-9a-f]+: 90[ ]+nop *
126 +[0-9a-f]+: 90[ ]+nop *
127 +[0-9a-f]+: 90[ ]+nop *
128 # IE against local var
129 +[0-9a-f]+: 64 4c 8b 34 25 00 00[ ]+mov %fs:0x0,%r14
130 +[0-9a-f]+: 00 00 *
131 +[0-9a-f]+: 90[ ]+nop *
132 +[0-9a-f]+: 90[ ]+nop *
133 +[0-9a-f]+: 4c 03 35 2b 02 20 00[ ]+add 2097707\(%rip\),%r14 +# 201308 <.*>
134 # -> R_X86_64_TPOFF64 *ABS*+0x24
135 +[0-9a-f]+: 90[ ]+nop *
136 +[0-9a-f]+: 90[ ]+nop *
137 +[0-9a-f]+: 90[ ]+nop *
138 +[0-9a-f]+: 90[ ]+nop *
139 # IE against hidden and local var
140 +[0-9a-f]+: 64 48 8b 0c 25 00 00[ ]+mov %fs:0x0,%rcx
141 +[0-9a-f]+: 00 00 *
142 +[0-9a-f]+: 90[ ]+nop *
143 +[0-9a-f]+: 90[ ]+nop *
144 +[0-9a-f]+: 48 03 0d 4d 02 20 00[ ]+add 2097741\(%rip\),%rcx +# 201340 <.*>
145 # -> R_X86_64_TPOFF64 *ABS*+0x44
146 +[0-9a-f]+: 90[ ]+nop *
147 +[0-9a-f]+: 90[ ]+nop *
148 +[0-9a-f]+: 90[ ]+nop *
149 +[0-9a-f]+: 90[ ]+nop *
150 # IE against hidden but not local var
151 +[0-9a-f]+: 64 48 8b 0c 25 00 00[ ]+mov %fs:0x0,%rcx
152 +[0-9a-f]+: 00 00 *
153 +[0-9a-f]+: 90[ ]+nop *
154 +[0-9a-f]+: 90[ ]+nop *
155 +[0-9a-f]+: 48 03 0d 0f 02 20 00[ ]+add 2097679\(%rip\),%rcx +# 201318 <.*>
156 # -> R_X86_64_TPOFF64 *ABS*+0x64
157 +[0-9a-f]+: 90[ ]+nop *
158 +[0-9a-f]+: 90[ ]+nop *
159 +[0-9a-f]+: 90[ ]+nop *
160 +[0-9a-f]+: 90[ ]+nop *
161 # Direct access through %fs
162 # IE against global var
163 +[0-9a-f]+: 48 8b 0d 0c 02 20 00[ ]+mov 2097676\(%rip\),%rcx +# 201320 <.*>
164 # -> R_X86_64_TPOFF64 sg5
165 +[0-9a-f]+: 90[ ]+nop *
166 +[0-9a-f]+: 90[ ]+nop *
167 +[0-9a-f]+: 64 48 8b 11[ ]+mov %fs:\(%rcx\),%rdx
168 +[0-9a-f]+: 90[ ]+nop *
169 +[0-9a-f]+: 90[ ]+nop *
170 +[0-9a-f]+: 90[ ]+nop *
171 +[0-9a-f]+: 90[ ]+nop *
172 # IE against local var
173 +[0-9a-f]+: 4c 8b 15 eb 01 20 00[ ]+mov 2097643\(%rip\),%r10 +# 201310 <.*>
174 # -> R_X86_64_TPOFF64 *ABS*+0x30
175 +[0-9a-f]+: 90[ ]+nop *
176 +[0-9a-f]+: 90[ ]+nop *
177 +[0-9a-f]+: 64 4d 8b 22[ ]+mov %fs:\(%r10\),%r12
178 +[0-9a-f]+: 90[ ]+nop *
179 +[0-9a-f]+: 90[ ]+nop *
180 +[0-9a-f]+: 90[ ]+nop *
181 +[0-9a-f]+: 90[ ]+nop *
182 # IE against hidden and local var
183 +[0-9a-f]+: 48 8b 15 f2 01 20 00[ ]+mov 2097650\(%rip\),%rdx +# 201328 <.*>
184 # -> R_X86_64_TPOFF64 *ABS*+0x50
185 +[0-9a-f]+: 90[ ]+nop *
186 +[0-9a-f]+: 90[ ]+nop *
187 +[0-9a-f]+: 64 48 8b 12[ ]+mov %fs:\(%rdx\),%rdx
188 +[0-9a-f]+: 90[ ]+nop *
189 +[0-9a-f]+: 90[ ]+nop *
190 +[0-9a-f]+: 90[ ]+nop *
191 +[0-9a-f]+: 90[ ]+nop *
192 # IE against hidden but not local var
193 +[0-9a-f]+: 48 8b 0d e9 01 20 00[ ]+mov 2097641\(%rip\),%rcx +# 201330 <.*>
194 # -> R_X86_64_TPOFF64 *ABS*+0x70
195 +[0-9a-f]+: 90[ ]+nop *
196 +[0-9a-f]+: 90[ ]+nop *
197 +[0-9a-f]+: 64 48 8b 11[ ]+mov %fs:\(%rcx\),%rdx
198 +[0-9a-f]+: 90[ ]+nop *
199 +[0-9a-f]+: 90[ ]+nop *
200 +[0-9a-f]+: 90[ ]+nop *
201 +[0-9a-f]+: 90[ ]+nop *
202 +[0-9a-f]+: c9[ ]+leaveq *
203 +[0-9a-f]+: c3[ ]+retq *
204 +[0-9a-f]+: 90[ ]+nop *
This page took 0.035823 seconds and 5 git commands to generate.