Don't hardcode .got.plt into DATA_SEGMENT_RELRO_END evaluation
[platform/upstream/binutils.git] / ld / testsuite / ld-i386 / tlsbindesc.dd
1 #source: tlsbindesc.s
2 #source: tlsbin.s
3 #as: --32
4 #ld: -melf_i386 tmpdir/libtlslib.so --no-ld-generated-unwind-info
5 #objdump: -drj.text
6 #target: i?86-*-*
7
8 # PT_TLS layout is:
9 # Offset from   Offset from     Name
10 # TCB base      TCB end
11 # 0x00          -0xa0           sg1..sg8
12 # 0x20          -0x80           sl1..sl8
13 # 0x40          -0x60           sh1..sh8
14 # 0x60          -0x40           bg1..bg8
15 # 0x80          -0x20           bl1..bl8
16
17 .*: +file format elf32-i386.*
18
19 Disassembly of section .text:
20
21 [0-9a-f]+ <fn2>:
22  +[0-9a-f]+:    55[     ]+push   %ebp
23  +[0-9a-f]+:    89 e5[  ]+mov    %esp,%ebp
24  +[0-9a-f]+:    53[     ]+push   %ebx
25  +[0-9a-f]+:    50[     ]+push   %eax
26  +[0-9a-f]+:    e8 00 00 00 00[         ]+call   [0-9a-f]+ <fn2\+0xa>
27  +[0-9a-f]+:    5b[     ]+pop    %ebx
28  +[0-9a-f]+:    81 c3 ([0-9a-f]{2} ){4}[        ]+add    \$0x[0-9a-f]*10fa,%ebx
29  +[0-9a-f]+:    90[     ]+nop *
30  +[0-9a-f]+:    90[     ]+nop *
31  +[0-9a-f]+:    90[     ]+nop *
32  +[0-9a-f]+:    90[     ]+nop *
33 #  GD -> IE because variable is not defined in executable
34  +[0-9a-f]+:    8b 83 f8 ff ff ff[      ]+mov    -0x8\(%ebx\),%eax
35 #                               ->R_386_TLS_TPOFF32     sG1
36  +[0-9a-f]+:    f7 d8[  ]+neg    %eax
37  +[0-9a-f]+:    90[     ]+nop *
38  +[0-9a-f]+:    90[     ]+nop *
39  +[0-9a-f]+:    90[     ]+nop *
40  +[0-9a-f]+:    90[     ]+nop *
41 #  GD -> IE because variable is not defined in executable where
42 #  the variable is referenced through @gottpoff too
43  +[0-9a-f]+:    8b 83 e8 ff ff ff[      ]+mov    -0x18\(%ebx\),%eax
44 #                               ->R_386_TLS_TPOFF32     sG2
45  +[0-9a-f]+:    f7 d8[  ]+neg    %eax
46  +[0-9a-f]+:    90[     ]+nop *
47  +[0-9a-f]+:    90[     ]+nop *
48  +[0-9a-f]+:    90[     ]+nop *
49  +[0-9a-f]+:    90[     ]+nop *
50 #  GD -> IE because variable is not defined in executable where
51 #  the variable is referenced through @gotntpoff too
52  +[0-9a-f]+:    8b 83 dc ff ff ff[      ]+mov    -0x24\(%ebx\),%eax
53 #                               ->R_386_TLS_TPOFF       sG3
54  +[0-9a-f]+:    66 90[  ]+xchg   %ax,%ax
55  +[0-9a-f]+:    90[     ]+nop *
56  +[0-9a-f]+:    90[     ]+nop *
57  +[0-9a-f]+:    90[     ]+nop *
58  +[0-9a-f]+:    90[     ]+nop *
59 #  GD -> IE because variable is not defined in executable where
60 #  the variable is referenced through @gottpoff and @gotntpoff too
61  +[0-9a-f]+:    8b 83 f0 ff ff ff[      ]+mov    -0x10\(%ebx\),%eax
62 #                               ->R_386_TLS_TPOFF32     sG4
63  +[0-9a-f]+:    66 90[  ]+xchg   %ax,%ax
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 #  GD -> LE with global variable defined in executable
69  +[0-9a-f]+:    8d 05 00 f0 ff ff[      ]+lea    0xfffff000,%eax
70 #                                                       sg1
71  +[0-9a-f]+:    66 90[  ]+xchg   %ax,%ax
72  +[0-9a-f]+:    90[     ]+nop *
73  +[0-9a-f]+:    90[     ]+nop *
74  +[0-9a-f]+:    90[     ]+nop *
75  +[0-9a-f]+:    90[     ]+nop *
76 #  GD -> LE with local variable defined in executable
77  +[0-9a-f]+:    8d 05 20 f0 ff ff[      ]+lea    0xfffff020,%eax
78 #                                                       sl1
79  +[0-9a-f]+:    66 90[  ]+xchg   %ax,%ax
80  +[0-9a-f]+:    90[     ]+nop *
81  +[0-9a-f]+:    90[     ]+nop *
82  +[0-9a-f]+:    90[     ]+nop *
83  +[0-9a-f]+:    90[     ]+nop *
84 #  GD -> LE with hidden variable defined in executable
85  +[0-9a-f]+:    8d 05 40 f0 ff ff[      ]+lea    0xfffff040,%eax
86 #                                                       sh1
87  +[0-9a-f]+:    66 90[  ]+xchg   %ax,%ax
88  +[0-9a-f]+:    90[     ]+nop *
89  +[0-9a-f]+:    90[     ]+nop *
90  +[0-9a-f]+:    90[     ]+nop *
91  +[0-9a-f]+:    90[     ]+nop *
92 #  LD -> LE
93  +[0-9a-f]+:    8d 05 00 00 00 00[      ]+lea    0x0,%eax
94  +[0-9a-f]+:    66 90[  ]+xchg   %ax,%ax
95  +[0-9a-f]+:    90[     ]+nop *
96  +[0-9a-f]+:    90[     ]+nop *
97  +[0-9a-f]+:    8d 90 20 f0 ff ff[      ]+lea    -0xfe0\(%eax\),%edx
98 #                                                       sl1
99  +[0-9a-f]+:    90[     ]+nop *
100  +[0-9a-f]+:    90[     ]+nop *
101  +[0-9a-f]+:    8d 88 24 f0 ff ff[      ]+lea    -0xfdc\(%eax\),%ecx
102 #                                                       sl2
103  +[0-9a-f]+:    90[     ]+nop *
104  +[0-9a-f]+:    90[     ]+nop *
105  +[0-9a-f]+:    90[     ]+nop *
106  +[0-9a-f]+:    90[     ]+nop *
107 #  LD -> LE against hidden variables
108  +[0-9a-f]+:    8d 05 00 00 00 00[      ]+lea    0x0,%eax
109  +[0-9a-f]+:    66 90[  ]+xchg   %ax,%ax
110  +[0-9a-f]+:    90[     ]+nop *
111  +[0-9a-f]+:    90[     ]+nop *
112  +[0-9a-f]+:    8d 90 40 f0 ff ff[      ]+lea    -0xfc0\(%eax\),%edx
113 #                                                       sh1
114  +[0-9a-f]+:    90[     ]+nop *
115  +[0-9a-f]+:    90[     ]+nop *
116  +[0-9a-f]+:    8d 88 44 f0 ff ff[      ]+lea    -0xfbc\(%eax\),%ecx
117 #                                                       sh2
118  +[0-9a-f]+:    90[     ]+nop *
119  +[0-9a-f]+:    90[     ]+nop *
120  +[0-9a-f]+:    90[     ]+nop *
121  +[0-9a-f]+:    90[     ]+nop *
122 #  @gottpoff IE against global var
123  +[0-9a-f]+:    65 8b 0d 00 00 00 00[   ]+mov    %gs:0x0,%ecx
124  +[0-9a-f]+:    90[     ]+nop *
125  +[0-9a-f]+:    90[     ]+nop *
126  +[0-9a-f]+:    2b 8b e8 ff ff ff[      ]+sub    -0x18\(%ebx\),%ecx
127 #                               ->R_386_TLS_TPOFF32     sG2
128  +[0-9a-f]+:    90[     ]+nop *
129  +[0-9a-f]+:    90[     ]+nop *
130  +[0-9a-f]+:    90[     ]+nop *
131  +[0-9a-f]+:    90[     ]+nop *
132 #  @gottpoff IE against global var
133  +[0-9a-f]+:    65 a1 00 00 00 00[      ]+mov    %gs:0x0,%eax
134  +[0-9a-f]+:    90[     ]+nop *
135  +[0-9a-f]+:    90[     ]+nop *
136  +[0-9a-f]+:    2b 83 ec ff ff ff[      ]+sub    -0x14\(%ebx\),%eax
137 #                               ->R_386_TLS_TPOFF32     sG4
138  +[0-9a-f]+:    90[     ]+nop *
139  +[0-9a-f]+:    90[     ]+nop *
140  +[0-9a-f]+:    90[     ]+nop *
141  +[0-9a-f]+:    90[     ]+nop *
142 #  @gotntpoff IE against global var
143  +[0-9a-f]+:    65 8b 0d 00 00 00 00[   ]+mov    %gs:0x0,%ecx
144  +[0-9a-f]+:    90[     ]+nop *
145  +[0-9a-f]+:    90[     ]+nop *
146  +[0-9a-f]+:    03 8b dc ff ff ff[      ]+add    -0x24\(%ebx\),%ecx
147 #                               ->R_386_TLS_TPOFF       sG3
148  +[0-9a-f]+:    90[     ]+nop *
149  +[0-9a-f]+:    90[     ]+nop *
150  +[0-9a-f]+:    90[     ]+nop *
151  +[0-9a-f]+:    90[     ]+nop *
152 #  @gotntpoff IE against global var
153  +[0-9a-f]+:    65 a1 00 00 00 00[      ]+mov    %gs:0x0,%eax
154  +[0-9a-f]+:    90[     ]+nop *
155  +[0-9a-f]+:    90[     ]+nop *
156  +[0-9a-f]+:    03 83 f0 ff ff ff[      ]+add    -0x10\(%ebx\),%eax
157 #                               ->R_386_TLS_TPOFF       sG4
158  +[0-9a-f]+:    90[     ]+nop *
159  +[0-9a-f]+:    90[     ]+nop *
160  +[0-9a-f]+:    90[     ]+nop *
161  +[0-9a-f]+:    90[     ]+nop *
162 #  @gottpoff IE -> LE against global var defined in exec
163  +[0-9a-f]+:    65 8b 0d 00 00 00 00[   ]+mov    %gs:0x0,%ecx
164  +[0-9a-f]+:    90[     ]+nop *
165  +[0-9a-f]+:    90[     ]+nop *
166  +[0-9a-f]+:    81 e9 00 10 00 00[      ]+sub    \$0x1000,%ecx
167 #                                                       sg1
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 #  @gotntpoff IE -> LE against local var
173  +[0-9a-f]+:    65 8b 0d 00 00 00 00[   ]+mov    %gs:0x0,%ecx
174  +[0-9a-f]+:    90[     ]+nop *
175  +[0-9a-f]+:    90[     ]+nop *
176  +[0-9a-f]+:    81 c0 20 f0 ff ff[      ]+add    \$0xfffff020,%eax
177 #                                                       sl1
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 #  @gottpoff IE -> LE against hidden var
183  +[0-9a-f]+:    65 8b 0d 00 00 00 00[   ]+mov    %gs:0x0,%ecx
184  +[0-9a-f]+:    90[     ]+nop *
185  +[0-9a-f]+:    90[     ]+nop *
186  +[0-9a-f]+:    81 e9 c0 0f 00 00[      ]+sub    \$0xfc0,%ecx
187 #                                                       sh1
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 #  Direct access through %gs
193 #  @gotntpoff IE against global var
194  +[0-9a-f]+:    8b 8b e0 ff ff ff[      ]+mov    -0x20\(%ebx\),%ecx
195 #                               ->R_386_TLS_TPOFF       sG5
196  +[0-9a-f]+:    90[     ]+nop *
197  +[0-9a-f]+:    90[     ]+nop *
198  +[0-9a-f]+:    65 8b 11[       ]+mov    %gs:\(%ecx\),%edx
199  +[0-9a-f]+:    90[     ]+nop *
200  +[0-9a-f]+:    90[     ]+nop *
201  +[0-9a-f]+:    90[     ]+nop *
202  +[0-9a-f]+:    90[     ]+nop *
203 #  @gotntpoff IE->LE against local var
204  +[0-9a-f]+:    c7 c0 30 f0 ff ff[      ]+mov    \$0xfffff030,%eax
205 #                                                       sl5
206  +[0-9a-f]+:    90[     ]+nop *
207  +[0-9a-f]+:    90[     ]+nop *
208  +[0-9a-f]+:    65 8b 10[       ]+mov    %gs:\(%eax\),%edx
209  +[0-9a-f]+:    90[     ]+nop *
210  +[0-9a-f]+:    90[     ]+nop *
211  +[0-9a-f]+:    90[     ]+nop *
212  +[0-9a-f]+:    90[     ]+nop *
213 #  @gotntpoff IE->LE against hidden var
214  +[0-9a-f]+:    c7 c2 50 f0 ff ff[      ]+mov    \$0xfffff050,%edx
215 #                                                       sh5
216  +[0-9a-f]+:    90[     ]+nop *
217  +[0-9a-f]+:    90[     ]+nop *
218  +[0-9a-f]+:    65 8b 12[       ]+mov    %gs:\(%edx\),%edx
219  +[0-9a-f]+:    90[     ]+nop *
220  +[0-9a-f]+:    90[     ]+nop *
221  +[0-9a-f]+:    90[     ]+nop *
222  +[0-9a-f]+:    90[     ]+nop *
223  +[0-9a-f]+:    8b 5d fc[       ]+mov    -0x4\(%ebp\),%ebx
224  +[0-9a-f]+:    c9[     ]+leave *
225  +[0-9a-f]+:    c3[     ]+ret *
226  +[0-9a-f]+:    66 90[  ]+xchg   %ax,%ax
227
228 [0-9a-f]+ <_start>:
229  +[0-9a-f]+:    55[     ]+push   %ebp
230  +[0-9a-f]+:    89 e5[  ]+mov    %esp,%ebp
231  +[0-9a-f]+:    e8 00 00 00 00[         ]+call   [0-9a-f]+ <_start\+0x8>
232  +[0-9a-f]+:    59[     ]+pop    %ecx
233  +[0-9a-f]+:    81 c1 ([0-9a-f]{2} ){4}[        ]+add    \$0x[0-9a-f]*fa4,%ecx
234  +[0-9a-f]+:    90[     ]+nop *
235  +[0-9a-f]+:    90[     ]+nop *
236  +[0-9a-f]+:    90[     ]+nop *
237  +[0-9a-f]+:    90[     ]+nop *
238 #  @gottpoff IE against global var
239  +[0-9a-f]+:    65 8b 15 00 00 00 00[   ]+mov    %gs:0x0,%edx
240  +[0-9a-f]+:    90[     ]+nop *
241  +[0-9a-f]+:    90[     ]+nop *
242  +[0-9a-f]+:    2b 91 f4 ff ff ff[      ]+sub    -0xc\(%ecx\),%edx
243 #                               ->R_386_TLS_TPOFF32     sG6
244  +[0-9a-f]+:    90[     ]+nop *
245  +[0-9a-f]+:    90[     ]+nop *
246  +[0-9a-f]+:    90[     ]+nop *
247  +[0-9a-f]+:    90[     ]+nop *
248 #  @indntpoff IE against global var
249  +[0-9a-f]+:    65 a1 00 00 00 00[      ]+mov    %gs:0x0,%eax
250  +[0-9a-f]+:    90[     ]+nop *
251  +[0-9a-f]+:    90[     ]+nop *
252  +[0-9a-f]+:    03 05 ([0-9a-f]{2} ){4}[        ]+add    0x[0-9a-f]+0e8,%eax
253 #                               ->R_386_TLS_TPOFF       sG7
254  +[0-9a-f]+:    90[     ]+nop *
255  +[0-9a-f]+:    90[     ]+nop *
256  +[0-9a-f]+:    90[     ]+nop *
257  +[0-9a-f]+:    90[     ]+nop *
258 #  @indntpoff direct %gs access IE against global var
259  +[0-9a-f]+:    8b 15 ([0-9a-f]{2} ){4}[        ]+mov    0x[0-9a-f]+100,%edx
260 #                               ->R_386_TLS_TPOFF       sG8
261  +[0-9a-f]+:    90[     ]+nop *
262  +[0-9a-f]+:    90[     ]+nop *
263  +[0-9a-f]+:    65 8b 02[       ]+mov    %gs:\(%edx\),%eax
264  +[0-9a-f]+:    90[     ]+nop *
265  +[0-9a-f]+:    90[     ]+nop *
266  +[0-9a-f]+:    90[     ]+nop *
267  +[0-9a-f]+:    90[     ]+nop *
268 #  @gottpoff IE -> LE against global var defined in exec
269  +[0-9a-f]+:    65 8b 15 00 00 00 00[   ]+mov    %gs:0x0,%edx
270  +[0-9a-f]+:    90[     ]+nop *
271  +[0-9a-f]+:    90[     ]+nop *
272  +[0-9a-f]+:    81 ea 8c 0f 00 00[      ]+sub    \$0xf8c,%edx
273 #                                                       bg6
274  +[0-9a-f]+:    90[     ]+nop *
275  +[0-9a-f]+:    90[     ]+nop *
276  +[0-9a-f]+:    90[     ]+nop *
277  +[0-9a-f]+:    90[     ]+nop *
278 #  @indntpoff IE -> LE against global var defined in exec
279  +[0-9a-f]+:    65 a1 00 00 00 00[      ]+mov    %gs:0x0,%eax
280  +[0-9a-f]+:    90[     ]+nop *
281  +[0-9a-f]+:    90[     ]+nop *
282  +[0-9a-f]+:    81 c0 78 f0 ff ff[      ]+add    \$0xfffff078,%eax
283 #                                                       bg7
284  +[0-9a-f]+:    90[     ]+nop *
285  +[0-9a-f]+:    90[     ]+nop *
286  +[0-9a-f]+:    90[     ]+nop *
287  +[0-9a-f]+:    90[     ]+nop *
288 #  @indntpoff direct %gs access IE -> LE against global var defined
289 #  in exec
290  +[0-9a-f]+:    c7 c2 7c f0 ff ff[      ]+mov    \$0xfffff07c,%edx
291 #                                                       bg8
292  +[0-9a-f]+:    90[     ]+nop *
293  +[0-9a-f]+:    90[     ]+nop *
294  +[0-9a-f]+:    65 8b 02[       ]+mov    %gs:\(%edx\),%eax
295  +[0-9a-f]+:    90[     ]+nop *
296  +[0-9a-f]+:    90[     ]+nop *
297  +[0-9a-f]+:    90[     ]+nop *
298  +[0-9a-f]+:    90[     ]+nop *
299 #  @gottpoff IE -> LE against local var
300  +[0-9a-f]+:    65 8b 15 00 00 00 00[   ]+mov    %gs:0x0,%edx
301  +[0-9a-f]+:    90[     ]+nop *
302  +[0-9a-f]+:    90[     ]+nop *
303  +[0-9a-f]+:    81 ea 6c 0f 00 00[      ]+sub    \$0xf6c,%edx
304 #                                                       bl6
305  +[0-9a-f]+:    90[     ]+nop *
306  +[0-9a-f]+:    90[     ]+nop *
307  +[0-9a-f]+:    90[     ]+nop *
308  +[0-9a-f]+:    90[     ]+nop *
309 #  @indntpoff IE -> LE against local var
310  +[0-9a-f]+:    65 a1 00 00 00 00[      ]+mov    %gs:0x0,%eax
311  +[0-9a-f]+:    90[     ]+nop *
312  +[0-9a-f]+:    90[     ]+nop *
313  +[0-9a-f]+:    81 c0 98 f0 ff ff[      ]+add    \$0xfffff098,%eax
314 #                                                       bl7
315  +[0-9a-f]+:    90[     ]+nop *
316  +[0-9a-f]+:    90[     ]+nop *
317  +[0-9a-f]+:    90[     ]+nop *
318  +[0-9a-f]+:    90[     ]+nop *
319 #  @indntpoff direct %gs access IE -> LE against local var
320  +[0-9a-f]+:    c7 c2 9c f0 ff ff[      ]+mov    \$0xfffff09c,%edx
321 #                                                       bl8
322  +[0-9a-f]+:    90[     ]+nop *
323  +[0-9a-f]+:    90[     ]+nop *
324  +[0-9a-f]+:    65 8b 02[       ]+mov    %gs:\(%edx\),%eax
325  +[0-9a-f]+:    90[     ]+nop *
326  +[0-9a-f]+:    90[     ]+nop *
327  +[0-9a-f]+:    90[     ]+nop *
328  +[0-9a-f]+:    90[     ]+nop *
329 #  @gottpoff IE -> LE against hidden but not local var
330  +[0-9a-f]+:    65 8b 15 00 00 00 00[   ]+mov    %gs:0x0,%edx
331  +[0-9a-f]+:    90[     ]+nop *
332  +[0-9a-f]+:    90[     ]+nop *
333  +[0-9a-f]+:    81 ea ac 0f 00 00[      ]+sub    \$0xfac,%edx
334 #                                                       sh6
335  +[0-9a-f]+:    90[     ]+nop *
336  +[0-9a-f]+:    90[     ]+nop *
337  +[0-9a-f]+:    90[     ]+nop *
338  +[0-9a-f]+:    90[     ]+nop *
339 #  @indntpoff IE -> LE against hidden but not local var
340  +[0-9a-f]+:    65 a1 00 00 00 00[      ]+mov    %gs:0x0,%eax
341  +[0-9a-f]+:    90[     ]+nop *
342  +[0-9a-f]+:    90[     ]+nop *
343  +[0-9a-f]+:    81 c0 58 f0 ff ff[      ]+add    \$0xfffff058,%eax
344 #                                                       sh7
345  +[0-9a-f]+:    90[     ]+nop *
346  +[0-9a-f]+:    90[     ]+nop *
347  +[0-9a-f]+:    90[     ]+nop *
348  +[0-9a-f]+:    90[     ]+nop *
349 #  @indntpoff direct %gs access IE -> LE against hidden but not
350 #  local var
351  +[0-9a-f]+:    c7 c2 5c f0 ff ff[      ]+mov    \$0xfffff05c,%edx
352 #                                                       sh8
353  +[0-9a-f]+:    90[     ]+nop *
354  +[0-9a-f]+:    90[     ]+nop *
355  +[0-9a-f]+:    65 8b 02[       ]+mov    %gs:\(%edx\),%eax
356  +[0-9a-f]+:    90[     ]+nop *
357  +[0-9a-f]+:    90[     ]+nop *
358  +[0-9a-f]+:    90[     ]+nop *
359  +[0-9a-f]+:    90[     ]+nop *
360 #  LE @tpoff, global var defined in exec
361  +[0-9a-f]+:    ba 00 10 00 00[         ]+mov    \$0x1000,%edx
362 #                                                       sg1
363  +[0-9a-f]+:    90[     ]+nop *
364  +[0-9a-f]+:    90[     ]+nop *
365  +[0-9a-f]+:    65 a1 00 00 00 00[      ]+mov    %gs:0x0,%eax
366  +[0-9a-f]+:    90[     ]+nop *
367  +[0-9a-f]+:    90[     ]+nop *
368  +[0-9a-f]+:    29 d0[  ]+sub    %edx,%eax
369  +[0-9a-f]+:    90[     ]+nop *
370  +[0-9a-f]+:    90[     ]+nop *
371  +[0-9a-f]+:    90[     ]+nop *
372  +[0-9a-f]+:    90[     ]+nop *
373 #  LE @tpoff, local var
374  +[0-9a-f]+:    b8 7f 0f 00 00[         ]+mov    \$0xf7f,%eax
375 #                                                       bl1+1
376  +[0-9a-f]+:    90[     ]+nop *
377  +[0-9a-f]+:    90[     ]+nop *
378  +[0-9a-f]+:    65 8b 15 00 00 00 00[   ]+mov    %gs:0x0,%edx
379  +[0-9a-f]+:    90[     ]+nop *
380  +[0-9a-f]+:    90[     ]+nop *
381  +[0-9a-f]+:    29 c2[  ]+sub    %eax,%edx
382  +[0-9a-f]+:    90[     ]+nop *
383  +[0-9a-f]+:    90[     ]+nop *
384  +[0-9a-f]+:    90[     ]+nop *
385  +[0-9a-f]+:    90[     ]+nop *
386 #  LE @tpoff, hidden var defined in exec
387  +[0-9a-f]+:    b8 bd 0f 00 00[         ]+mov    \$0xfbd,%eax
388 #                                                       sh1+3
389  +[0-9a-f]+:    90[     ]+nop *
390  +[0-9a-f]+:    90[     ]+nop *
391  +[0-9a-f]+:    65 8b 15 00 00 00 00[   ]+mov    %gs:0x0,%edx
392  +[0-9a-f]+:    90[     ]+nop *
393  +[0-9a-f]+:    90[     ]+nop *
394  +[0-9a-f]+:    29 c2[  ]+sub    %eax,%edx
395  +[0-9a-f]+:    90[     ]+nop *
396  +[0-9a-f]+:    90[     ]+nop *
397  +[0-9a-f]+:    90[     ]+nop *
398  +[0-9a-f]+:    90[     ]+nop *
399 #  LE @ntpoff, global var defined in exec
400  +[0-9a-f]+:    65 a1 00 00 00 00[      ]+mov    %gs:0x0,%eax
401  +[0-9a-f]+:    90[     ]+nop *
402  +[0-9a-f]+:    90[     ]+nop *
403  +[0-9a-f]+:    8d 90 04 f0 ff ff[      ]+lea    -0xffc\(%eax\),%edx
404 #                                                       sg2
405  +[0-9a-f]+:    90[     ]+nop *
406  +[0-9a-f]+:    90[     ]+nop *
407  +[0-9a-f]+:    90[     ]+nop *
408  +[0-9a-f]+:    90[     ]+nop *
409 #  LE @ntpoff, local var, non-canonical sequence
410  +[0-9a-f]+:    b8 86 f0 ff ff[         ]+mov    \$0xfffff086,%eax
411 #                                                       bl2+2
412  +[0-9a-f]+:    90[     ]+nop *
413  +[0-9a-f]+:    90[     ]+nop *
414  +[0-9a-f]+:    65 8b 15 00 00 00 00[   ]+mov    %gs:0x0,%edx
415  +[0-9a-f]+:    90[     ]+nop *
416  +[0-9a-f]+:    90[     ]+nop *
417  +[0-9a-f]+:    01 c2[  ]+add    %eax,%edx
418  +[0-9a-f]+:    90[     ]+nop *
419  +[0-9a-f]+:    90[     ]+nop *
420  +[0-9a-f]+:    90[     ]+nop *
421  +[0-9a-f]+:    90[     ]+nop *
422 #  LE @ntpoff, hidden var defined in exec, non-canonical sequence
423  +[0-9a-f]+:    65 8b 15 00 00 00 00[   ]+mov    %gs:0x0,%edx
424  +[0-9a-f]+:    90[     ]+nop *
425  +[0-9a-f]+:    90[     ]+nop *
426  +[0-9a-f]+:    81 c2 45 f0 ff ff[      ]+add    \$0xfffff045,%edx
427 #                                                       sh2+1
428  +[0-9a-f]+:    90[     ]+nop *
429  +[0-9a-f]+:    90[     ]+nop *
430  +[0-9a-f]+:    90[     ]+nop *
431  +[0-9a-f]+:    90[     ]+nop *
432 #  LE @ntpoff, global var defined in exec
433  +[0-9a-f]+:    65 a1 08 f0 ff ff[      ]+mov    %gs:0xfffff008,%eax
434 #                                                       sg3
435  +[0-9a-f]+:    90[     ]+nop *
436  +[0-9a-f]+:    90[     ]+nop *
437  +[0-9a-f]+:    90[     ]+nop *
438  +[0-9a-f]+:    90[     ]+nop *
439 #  LE @ntpoff, local var
440  +[0-9a-f]+:    65 8b 15 8b f0 ff ff[   ]+mov    %gs:0xfffff08b,%edx
441 #                                                       bl3+3
442  +[0-9a-f]+:    90[     ]+nop *
443  +[0-9a-f]+:    90[     ]+nop *
444  +[0-9a-f]+:    90[     ]+nop *
445  +[0-9a-f]+:    90[     ]+nop *
446 #  LE @ntpoff, hidden var defined in exec
447  +[0-9a-f]+:    65 8b 15 49 f0 ff ff[   ]+mov    %gs:0xfffff049,%edx
448 #                                                       sh3+1
449  +[0-9a-f]+:    90[     ]+nop *
450  +[0-9a-f]+:    90[     ]+nop *
451  +[0-9a-f]+:    90[     ]+nop *
452  +[0-9a-f]+:    90[     ]+nop *
453  +[0-9a-f]+:    8b 5d fc[       ]+mov    -0x4\(%ebp\),%ebx
454  +[0-9a-f]+:    c9[     ]+leave *
455  +[0-9a-f]+:    c3[     ]+ret *