Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
[binutils-gdb.git] / ld / testsuite / ld-frv / tls-relax-initial-shared-2.d
blob824cf659543eeb4ec92dbd91281670b53384574e
1 #name: FRV TLS relocs with addends, shared linking with static TLS, relaxing
2 #source: tls-2.s
3 #as: --defsym static_tls=1
4 #objdump: -DR -j .text -j .got -j .plt
5 #ld: -shared tmpdir/tls-1-dep.so --version-script tls-1-shared.lds --relax
7 .*: file format elf.*frv.*
9 Disassembly of section \.text:
11 [0-9a-f ]+<_start>:
12 [0-9a-f ]+: 92 c8 f0 34 ldi @\(gr15,52\),gr9
13 [0-9a-f ]+: 92 c8 f0 44 ldi @\(gr15,68\),gr9
14 [0-9a-f ]+: 92 c8 f0 5c ldi @\(gr15,92\),gr9
15 [0-9a-f ]+: 00 88 00 00 nop\.p
16 [0-9a-f ]+: 80 88 00 00 nop
17 [0-9a-f ]+: 92 c8 f0 7c ldi @\(gr15,124\),gr9
18 [0-9a-f ]+: 80 88 00 00 nop
19 [0-9a-f ]+: 00 88 00 00 nop\.p
20 [0-9a-f ]+: 80 88 00 00 nop
21 [0-9a-f ]+: 92 c8 f0 84 ldi @\(gr15,132\),gr9
22 [0-9a-f ]+: 80 88 00 00 nop
23 [0-9a-f ]+: 00 88 00 00 nop\.p
24 [0-9a-f ]+: 80 88 00 00 nop
25 [0-9a-f ]+: 92 c8 f0 94 ldi @\(gr15,148\),gr9
26 [0-9a-f ]+: 80 88 00 00 nop
27 [0-9a-f ]+: 12 c8 f0 38 ldi\.p @\(gr15,56\),gr9
28 [0-9a-f ]+: 80 88 00 00 nop
29 [0-9a-f ]+: 80 88 00 00 nop
30 [0-9a-f ]+: 12 c8 f0 48 ldi\.p @\(gr15,72\),gr9
31 [0-9a-f ]+: 80 88 00 00 nop
32 [0-9a-f ]+: 80 88 00 00 nop
33 [0-9a-f ]+: 12 c8 f0 60 ldi\.p @\(gr15,96\),gr9
34 [0-9a-f ]+: 80 88 00 00 nop
35 [0-9a-f ]+: 80 88 00 00 nop
36 [0-9a-f ]+: 80 88 00 00 nop
37 [0-9a-f ]+: 92 fc f8 14 setlos 0xf*fffff814,gr9
38 [0-9a-f ]+: 80 88 00 00 nop
39 [0-9a-f ]+: 92 fc 08 14 setlos 0x814,gr9
40 [0-9a-f ]+: 92 f8 00 00 sethi hi\(0x0\),gr9
41 [0-9a-f ]+: 92 f4 f8 14 setlo 0xf814,gr9
42 [0-9a-f ]+: 92 c8 f0 64 ldi @\(gr15,100\),gr9
43 [0-9a-f ]+: 92 c8 f0 0c ldi @\(gr15,12\),gr9
44 [0-9a-f ]+: 92 c8 f0 1c ldi @\(gr15,28\),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 c8 f0 98 ldi @\(gr15,152\),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 c8 f0 6c ldi @\(gr15,108\),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 c8 f0 70 ldi @\(gr15,112\),gr9
56 [0-9a-f ]+: 80 88 00 00 nop
57 [0-9a-f ]+: 12 c8 f0 68 ldi\.p @\(gr15,104\),gr9
58 [0-9a-f ]+: 80 88 00 00 nop
59 [0-9a-f ]+: 80 88 00 00 nop
60 [0-9a-f ]+: 12 c8 f0 10 ldi\.p @\(gr15,16\),gr9
61 [0-9a-f ]+: 80 88 00 00 nop
62 [0-9a-f ]+: 80 88 00 00 nop
63 [0-9a-f ]+: 12 c8 f0 20 ldi\.p @\(gr15,32\),gr9
64 [0-9a-f ]+: 80 88 00 00 nop
65 [0-9a-f ]+: 80 88 00 00 nop
66 [0-9a-f ]+: 80 88 00 00 nop
67 [0-9a-f ]+: 92 fc f8 24 setlos 0xf*fffff824,gr9
68 [0-9a-f ]+: 80 88 00 00 nop
69 [0-9a-f ]+: 92 fc 08 24 setlos 0x824,gr9
70 [0-9a-f ]+: 92 f8 00 00 sethi hi\(0x0\),gr9
71 [0-9a-f ]+: 92 f4 f8 24 setlo 0xf824,gr9
72 [0-9a-f ]+: 92 c8 f0 28 ldi @\(gr15,40\),gr9
73 [0-9a-f ]+: 92 c8 f0 4c ldi @\(gr15,76\),gr9
74 [0-9a-f ]+: 92 c8 f0 50 ldi @\(gr15,80\),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 c8 f0 74 ldi @\(gr15,116\),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 c8 f0 88 ldi @\(gr15,136\),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 c8 f0 8c ldi @\(gr15,140\),gr9
86 [0-9a-f ]+: 80 88 00 00 nop
87 [0-9a-f ]+: 12 c8 f0 2c ldi\.p @\(gr15,44\),gr9
88 [0-9a-f ]+: 80 88 00 00 nop
89 [0-9a-f ]+: 80 88 00 00 nop
90 [0-9a-f ]+: 12 c8 f0 3c ldi\.p @\(gr15,60\),gr9
91 [0-9a-f ]+: 80 88 00 00 nop
92 [0-9a-f ]+: 80 88 00 00 nop
93 [0-9a-f ]+: 12 c8 f0 54 ldi\.p @\(gr15,84\),gr9
94 [0-9a-f ]+: 80 88 00 00 nop
95 [0-9a-f ]+: 80 88 00 00 nop
96 [0-9a-f ]+: 80 88 00 00 nop
97 [0-9a-f ]+: 92 fc 00 04 setlos 0x4,gr9
98 [0-9a-f ]+: 80 88 00 00 nop
99 [0-9a-f ]+: 92 fc 10 04 setlos 0x1004,gr9
100 [0-9a-f ]+: 92 f8 00 01 sethi 0x1,gr9
101 [0-9a-f ]+: 92 f4 00 04 setlo 0x4,gr9
102 [0-9a-f ]+: 92 c8 f0 30 ldi @\(gr15,48\),gr9
103 [0-9a-f ]+: 92 c8 f0 40 ldi @\(gr15,64\),gr9
104 [0-9a-f ]+: 92 c8 f0 58 ldi @\(gr15,88\),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 c8 f0 78 ldi @\(gr15,120\),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 c8 f0 80 ldi @\(gr15,128\),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 c8 f0 90 ldi @\(gr15,144\),gr9
116 [0-9a-f ]+: 80 88 00 00 nop
117 [0-9a-f ]+: 12 c8 f0 14 ldi\.p @\(gr15,20\),gr9
118 [0-9a-f ]+: 80 88 00 00 nop
119 [0-9a-f ]+: 80 88 00 00 nop
120 [0-9a-f ]+: 12 c8 f0 18 ldi\.p @\(gr15,24\),gr9
121 [0-9a-f ]+: 80 88 00 00 nop
122 [0-9a-f ]+: 80 88 00 00 nop
123 [0-9a-f ]+: 12 c8 f0 24 ldi\.p @\(gr15,36\),gr9
124 [0-9a-f ]+: 80 88 00 00 nop
125 [0-9a-f ]+: 80 88 00 00 nop
126 [0-9a-f ]+: 92 c8 f0 34 ldi @\(gr15,52\),gr9
127 [0-9a-f ]+: 92 c8 f0 5c ldi @\(gr15,92\),gr9
128 [0-9a-f ]+: 92 c8 f0 64 ldi @\(gr15,100\),gr9
129 [0-9a-f ]+: 92 c8 f0 1c ldi @\(gr15,28\),gr9
130 [0-9a-f ]+: 92 c8 f0 28 ldi @\(gr15,40\),gr9
131 [0-9a-f ]+: 92 c8 f0 50 ldi @\(gr15,80\),gr9
132 [0-9a-f ]+: 92 c8 f0 30 ldi @\(gr15,48\),gr9
133 [0-9a-f ]+: 92 c8 f0 58 ldi @\(gr15,88\),gr9
134 [0-9a-f ]+: 80 88 00 00 nop
135 [0-9a-f ]+: 92 c8 f0 44 ldi @\(gr15,68\),gr9
136 [0-9a-f ]+: 80 88 00 00 nop
137 [0-9a-f ]+: 80 88 00 00 nop
138 [0-9a-f ]+: 92 c8 f0 0c ldi @\(gr15,12\),gr9
139 Disassembly of section \.got:
141 [0-9a-f ]+<(__data_start|_GLOBAL_OFFSET_TABLE_)>:
142 \.\.\.
143 [0-9a-f ]+: 00 00 10 11 add\.p sp,gr17,gr0
144 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
145 [0-9a-f ]+: 00 00 10 13 add\.p sp,gr19,gr0
146 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
147 [0-9a-f ]+: 00 00 00 03 add\.p gr0,gr3,gr0
148 [0-9a-f ]+: R_FRV_TLSOFF x
149 [0-9a-f ]+: 00 00 10 03 add\.p sp,gr3,gr0
150 [0-9a-f ]+: R_FRV_TLSOFF x
151 [0-9a-f ]+: 00 01 00 11 add\.p gr16,gr17,gr0
152 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
153 [0-9a-f ]+: 00 01 00 13 add\.p gr16,gr19,gr0
154 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
155 [0-9a-f ]+: 00 01 00 03 add\.p gr16,gr3,gr0
156 [0-9a-f ]+: R_FRV_TLSOFF x
157 [0-9a-f ]+: 00 00 07 f1 \*unknown\*
158 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
159 [0-9a-f ]+: 00 00 07 f3 \*unknown\*
160 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
161 [0-9a-f ]+: 00 00 00 01 add\.p gr0,sp,gr0
162 [0-9a-f ]+: R_FRV_TLSOFF x
163 [0-9a-f ]+: 00 00 00 01 add\.p gr0,sp,gr0
164 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
165 [0-9a-f ]+: 00 00 00 03 add\.p gr0,gr3,gr0
166 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
167 [0-9a-f ]+: 00 00 17 f3 \*unknown\*
168 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
169 [0-9a-f ]+: 00 00 10 01 add\.p sp,sp,gr0
170 [0-9a-f ]+: R_FRV_TLSOFF x
171 [0-9a-f ]+: 00 00 10 01 add\.p sp,sp,gr0
172 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
173 [0-9a-f ]+: 00 00 10 03 add\.p sp,gr3,gr0
174 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
175 [0-9a-f ]+: 00 00 17 f1 \*unknown\*
176 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
177 [0-9a-f ]+: 00 01 07 f1 \*unknown\*
178 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
179 [0-9a-f ]+: 00 01 07 f3 \*unknown\*
180 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
181 [0-9a-f ]+: 00 01 00 01 add\.p gr16,sp,gr0
182 [0-9a-f ]+: R_FRV_TLSOFF x
183 [0-9a-f ]+: 00 01 00 01 add\.p gr16,sp,gr0
184 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
185 [0-9a-f ]+: 00 01 00 03 add\.p gr16,gr3,gr0
186 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
187 [0-9a-f ]+: 00 00 00 11 add\.p gr0,gr17,gr0
188 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
189 [0-9a-f ]+: 00 00 00 13 add\.p gr0,gr19,gr0
190 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
191 [0-9a-f ]+: 00 00 10 12 add\.p sp,gr18,gr0
192 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
193 [0-9a-f ]+: 00 01 00 12 add\.p gr16,gr18,gr0
194 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
195 [0-9a-f ]+: 00 00 07 f2 \*unknown\*
196 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
197 [0-9a-f ]+: 00 00 00 02 add\.p gr0,fp,gr0
198 [0-9a-f ]+: R_FRV_TLSOFF x
199 [0-9a-f ]+: 00 00 00 02 add\.p gr0,fp,gr0
200 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
201 [0-9a-f ]+: 00 00 10 02 add\.p sp,fp,gr0
202 [0-9a-f ]+: R_FRV_TLSOFF x
203 [0-9a-f ]+: 00 00 10 02 add\.p sp,fp,gr0
204 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
205 [0-9a-f ]+: 00 00 17 f2 \*unknown\*
206 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
207 [0-9a-f ]+: 00 01 07 f2 \*unknown\*
208 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
209 [0-9a-f ]+: 00 01 00 02 add\.p gr16,fp,gr0
210 [0-9a-f ]+: R_FRV_TLSOFF x
211 [0-9a-f ]+: 00 01 00 02 add\.p gr16,fp,gr0
212 [0-9a-f ]+: R_FRV_TLSOFF \.tbss
213 [0-9a-f ]+: 00 00 00 12 add\.p gr0,gr18,gr0
214 [0-9a-f ]+: R_FRV_TLSOFF \.tbss