[gdb] Fix tsan warning: signal handler spoils errno
[binutils-gdb.git] / ld / testsuite / ld-frv / tls-dynamic-2.d
blob73fa9382642786d99733b3febb79240c270ff437
1 #name: FRV TLS relocs with addends, dynamic linking
2 #source: tls-2.s
3 #objdump: -DR -j .text -j .got -j .plt
4 #ld: --hash-style=sysv tmpdir/tls-1-dep.so
6 .*: file format elf.*frv.*
8 Disassembly of section \.plt:
10 [0-9a-f ]+<\.plt>:
11 [0-9a-f ]+: c0 3a 40 00 bralr
12 [0-9a-f ]+: 92 fc 08 21 setlos 0x821,gr9
13 [0-9a-f ]+: c0 3a 40 00 bralr
14 [0-9a-f ]+: 12 f8 00 00 sethi\.p hi\(0x0\),gr9
15 [0-9a-f ]+: 92 f4 f8 21 setlo 0xf821,gr9
16 [0-9a-f ]+: c0 3a 40 00 bralr
17 [0-9a-f ]+: 92 fc 00 01 setlos 0x1,gr9
18 [0-9a-f ]+: c0 3a 40 00 bralr
19 [0-9a-f ]+: 92 c8 ff bc ldi @\(gr15,-68\),gr9
20 [0-9a-f ]+: c0 3a 40 00 bralr
21 [0-9a-f ]+: 92 fc f8 11 setlos 0xf*fffff811,gr9
22 [0-9a-f ]+: c0 3a 40 00 bralr
23 [0-9a-f ]+: 92 fc 10 01 setlos 0x1001,gr9
24 [0-9a-f ]+: c0 3a 40 00 bralr
25 [0-9a-f ]+: 92 c8 ff d4 ldi @\(gr15,-44\),gr9
26 [0-9a-f ]+: c0 3a 40 00 bralr
27 [0-9a-f ]+: 92 fc 08 11 setlos 0x811,gr9
28 [0-9a-f ]+: c0 3a 40 00 bralr
29 [0-9a-f ]+: 12 f8 00 01 sethi\.p 0x1,gr9
30 [0-9a-f ]+: 92 f4 00 01 setlo 0x1,gr9
31 [0-9a-f ]+: c0 3a 40 00 bralr
32 [0-9a-f ]+: 92 c8 ff ec ldi @\(gr15,-20\),gr9
33 [0-9a-f ]+: c0 3a 40 00 bralr
34 [0-9a-f ]+: 12 f8 00 00 sethi\.p hi\(0x0\),gr9
35 [0-9a-f ]+: 92 f4 f8 11 setlo 0xf811,gr9
36 [0-9a-f ]+: c0 3a 40 00 bralr
37 [0-9a-f ]+: 92 fc f8 21 setlos 0xf*fffff821,gr9
38 [0-9a-f ]+: c0 3a 40 00 bralr
39 Disassembly of section \.text:
41 [0-9a-f ]+<_start>:
42 [0-9a-f ]+: 92 fc f8 11 setlos 0xf*fffff811,gr9
43 [0-9a-f ]+: 92 fc 08 11 setlos 0x811,gr9
44 [0-9a-f ]+: 92 c8 ff f4 ldi @\(gr15,-12\),gr9
45 [0-9a-f ]+: 00 88 00 00 nop\.p
46 [0-9a-f ]+: 80 88 00 00 nop
47 [0-9a-f ]+: 92 fc f8 12 setlos 0xf*fffff812,gr9
48 [0-9a-f ]+: 80 88 00 00 nop
49 [0-9a-f ]+: 00 88 00 00 nop\.p
50 [0-9a-f ]+: 80 88 00 00 nop
51 [0-9a-f ]+: 92 fc 08 12 setlos 0x812,gr9
52 [0-9a-f ]+: 80 88 00 00 nop
53 [0-9a-f ]+: 00 88 00 00 nop\.p
54 [0-9a-f ]+: 80 88 00 00 nop
55 [0-9a-f ]+: 92 f8 00 00 sethi hi\(0x0\),gr9
56 [0-9a-f ]+: 92 f4 f8 12 setlo 0xf812,gr9
57 [0-9a-f ]+: 12 fc f8 13 setlos\.p 0xf*fffff813,gr9
58 [0-9a-f ]+: 80 88 00 00 nop
59 [0-9a-f ]+: 80 88 00 00 nop
60 [0-9a-f ]+: 12 fc 08 13 setlos\.p 0x813,gr9
61 [0-9a-f ]+: 80 88 00 00 nop
62 [0-9a-f ]+: 80 88 00 00 nop
63 [0-9a-f ]+: 12 f8 00 00 sethi\.p hi\(0x0\),gr9
64 [0-9a-f ]+: 80 88 00 00 nop
65 [0-9a-f ]+: 92 f4 f8 13 setlo 0xf813,gr9
66 [0-9a-f ]+: 80 88 00 00 nop
67 [0-9a-f ]+: 92 fc f8 14 setlos 0xf*fffff814,gr9
68 [0-9a-f ]+: 80 88 00 00 nop
69 [0-9a-f ]+: 92 fc 08 14 setlos 0x814,gr9
70 [0-9a-f ]+: 92 f8 00 00 sethi hi\(0x0\),gr9
71 [0-9a-f ]+: 92 f4 f8 14 setlo 0xf814,gr9
72 [0-9a-f ]+: 92 fc f8 21 setlos 0xf*fffff821,gr9
73 [0-9a-f ]+: 92 fc 08 21 setlos 0x821,gr9
74 [0-9a-f ]+: 92 c8 ff ac ldi @\(gr15,-84\),gr9
75 [0-9a-f ]+: 00 88 00 00 nop\.p
76 [0-9a-f ]+: 80 88 00 00 nop
77 [0-9a-f ]+: 92 fc f8 22 setlos 0xf*fffff822,gr9
78 [0-9a-f ]+: 80 88 00 00 nop
79 [0-9a-f ]+: 00 88 00 00 nop\.p
80 [0-9a-f ]+: 80 88 00 00 nop
81 [0-9a-f ]+: 92 fc 08 22 setlos 0x822,gr9
82 [0-9a-f ]+: 80 88 00 00 nop
83 [0-9a-f ]+: 00 88 00 00 nop\.p
84 [0-9a-f ]+: 80 88 00 00 nop
85 [0-9a-f ]+: 92 f8 00 00 sethi hi\(0x0\),gr9
86 [0-9a-f ]+: 92 f4 f8 22 setlo 0xf822,gr9
87 [0-9a-f ]+: 12 fc f8 23 setlos\.p 0xf*fffff823,gr9
88 [0-9a-f ]+: 80 88 00 00 nop
89 [0-9a-f ]+: 80 88 00 00 nop
90 [0-9a-f ]+: 12 fc 08 23 setlos\.p 0x823,gr9
91 [0-9a-f ]+: 80 88 00 00 nop
92 [0-9a-f ]+: 80 88 00 00 nop
93 [0-9a-f ]+: 12 f8 00 00 sethi\.p hi\(0x0\),gr9
94 [0-9a-f ]+: 80 88 00 00 nop
95 [0-9a-f ]+: 92 f4 f8 23 setlo 0xf823,gr9
96 [0-9a-f ]+: 80 88 00 00 nop
97 [0-9a-f ]+: 92 fc f8 24 setlos 0xf*fffff824,gr9
98 [0-9a-f ]+: 80 88 00 00 nop
99 [0-9a-f ]+: 92 fc 08 24 setlos 0x824,gr9
100 [0-9a-f ]+: 92 f8 00 00 sethi hi\(0x0\),gr9
101 [0-9a-f ]+: 92 f4 f8 24 setlo 0xf824,gr9
102 [0-9a-f ]+: 92 fc 00 01 setlos 0x1,gr9
103 [0-9a-f ]+: 92 fc 10 01 setlos 0x1001,gr9
104 [0-9a-f ]+: 92 c8 ff e4 ldi @\(gr15,-28\),gr9
105 [0-9a-f ]+: 00 88 00 00 nop\.p
106 [0-9a-f ]+: 80 88 00 00 nop
107 [0-9a-f ]+: 92 fc 00 02 setlos 0x2,gr9
108 [0-9a-f ]+: 80 88 00 00 nop
109 [0-9a-f ]+: 00 88 00 00 nop\.p
110 [0-9a-f ]+: 80 88 00 00 nop
111 [0-9a-f ]+: 92 fc 10 02 setlos 0x1002,gr9
112 [0-9a-f ]+: 80 88 00 00 nop
113 [0-9a-f ]+: 00 88 00 00 nop\.p
114 [0-9a-f ]+: 80 88 00 00 nop
115 [0-9a-f ]+: 92 f8 00 01 sethi 0x1,gr9
116 [0-9a-f ]+: 92 f4 00 02 setlo 0x2,gr9
117 [0-9a-f ]+: 12 fc 00 03 setlos\.p 0x3,gr9
118 [0-9a-f ]+: 80 88 00 00 nop
119 [0-9a-f ]+: 80 88 00 00 nop
120 [0-9a-f ]+: 12 fc 10 03 setlos\.p 0x1003,gr9
121 [0-9a-f ]+: 80 88 00 00 nop
122 [0-9a-f ]+: 80 88 00 00 nop
123 [0-9a-f ]+: 12 f8 00 01 sethi\.p 0x1,gr9
124 [0-9a-f ]+: 80 88 00 00 nop
125 [0-9a-f ]+: 92 f4 00 03 setlo 0x3,gr9
126 [0-9a-f ]+: 80 88 00 00 nop
127 [0-9a-f ]+: 92 fc 00 04 setlos 0x4,gr9
128 [0-9a-f ]+: 80 88 00 00 nop
129 [0-9a-f ]+: 92 fc 10 04 setlos 0x1004,gr9
130 [0-9a-f ]+: 92 f8 00 01 sethi 0x1,gr9
131 [0-9a-f ]+: 92 f4 00 04 setlo 0x4,gr9
132 [0-9a-f ]+: 92 c8 ff bc ldi @\(gr15,-68\),gr9
133 [0-9a-f ]+: 92 c8 ff d4 ldi @\(gr15,-44\),gr9
134 [0-9a-f ]+: 92 c8 ff ec ldi @\(gr15,-20\),gr9
135 [0-9a-f ]+: 00 88 00 00 nop\.p
136 [0-9a-f ]+: 80 88 00 00 nop
137 [0-9a-f ]+: 92 c8 f0 20 ldi @\(gr15,32\),gr9
138 [0-9a-f ]+: 80 88 00 00 nop
139 [0-9a-f ]+: 00 88 00 00 nop\.p
140 [0-9a-f ]+: 80 88 00 00 nop
141 [0-9a-f ]+: 92 c8 f0 1c ldi @\(gr15,28\),gr9
142 [0-9a-f ]+: 80 88 00 00 nop
143 [0-9a-f ]+: 00 88 00 00 nop\.p
144 [0-9a-f ]+: 80 88 00 00 nop
145 [0-9a-f ]+: 92 c8 f0 18 ldi @\(gr15,24\),gr9
146 [0-9a-f ]+: 80 88 00 00 nop
147 [0-9a-f ]+: 12 c8 f0 0c ldi\.p @\(gr15,12\),gr9
148 [0-9a-f ]+: 80 88 00 00 nop
149 [0-9a-f ]+: 80 88 00 00 nop
150 [0-9a-f ]+: 12 c8 f0 10 ldi\.p @\(gr15,16\),gr9
151 [0-9a-f ]+: 80 88 00 00 nop
152 [0-9a-f ]+: 80 88 00 00 nop
153 [0-9a-f ]+: 12 c8 f0 14 ldi\.p @\(gr15,20\),gr9
154 [0-9a-f ]+: 80 88 00 00 nop
155 [0-9a-f ]+: 80 88 00 00 nop
156 Disassembly of section \.got:
158 [0-9a-f ]+<.*>:
159 [0-9a-f ]+: 00 01 02 38 .*
160 [0-9a-f ]+: 00 00 08 21 .*
161 [0-9a-f ]+: 00 01 02 38 .*
162 [0-9a-f ]+: 00 00 f8 21 .*
163 [0-9a-f ]+: 00 01 02 38 .*
164 [0-9a-f ]+: 00 00 00 01 .*
165 [0-9a-f ]+: 00 00 00 00 .*
166 [0-9a-f ]+: R_FRV_TLSDESC_VALUE x
167 [0-9a-f ]+: 00 00 00 01 .*
168 [0-9a-f ]+: 00 01 02 38 .*
169 [0-9a-f ]+: ff ff f8 11 .*
170 [0-9a-f ]+: 00 01 02 38 .*
171 [0-9a-f ]+: 00 00 10 01 .*
172 [0-9a-f ]+: 00 00 00 00 .*
173 [0-9a-f ]+: R_FRV_TLSDESC_VALUE x
174 [0-9a-f ]+: 00 00 10 01 .*
175 [0-9a-f ]+: 00 01 02 38 .*
176 [0-9a-f ]+: 00 00 08 11 .*
177 [0-9a-f ]+: 00 01 02 38 .*
178 [0-9a-f ]+: 00 01 00 01 .*
179 [0-9a-f ]+: 00 00 00 00 .*
180 [0-9a-f ]+: R_FRV_TLSDESC_VALUE x
181 [0-9a-f ]+: 00 01 00 01 .*
182 [0-9a-f ]+: 00 01 02 38 .*
183 [0-9a-f ]+: 00 00 f8 11 .*
184 [0-9a-f ]+: 00 01 02 38 .*
185 [0-9a-f ]+: ff ff f8 21 .*
187 [0-9a-f ]+<_GLOBAL_OFFSET_TABLE_>:
188 \.\.\.
189 [0-9a-f ]+: 00 00 00 03 .*
190 [0-9a-f ]+: R_FRV_TLSOFF x
191 [0-9a-f ]+: 00 00 10 03 .*
192 [0-9a-f ]+: R_FRV_TLSOFF x
193 [0-9a-f ]+: 00 01 00 03 .*
194 [0-9a-f ]+: R_FRV_TLSOFF x
195 [0-9a-f ]+: 00 01 00 02 .*
196 [0-9a-f ]+: R_FRV_TLSOFF x
197 [0-9a-f ]+: 00 00 10 02 .*
198 [0-9a-f ]+: R_FRV_TLSOFF x
199 [0-9a-f ]+: 00 00 00 02 .*
200 [0-9a-f ]+: R_FRV_TLSOFF x