gas:
[binutils/dougsmingw.git] / ld / testsuite / ld-mips-elf / reloc-1-rel.d
blobe37da1e58df25a4cc02f2b8f0e2d1fbba0287bef
1 #source: reloc-1a.s
2 #source: reloc-1b.s
3 #ld: -r
4 #objdump: -dr
6 .*: file format .*
8 Disassembly of section \.text:
10 .* <.*>:
12 # Relocations against tstarta
14 .*: 3c04ffff lui a0,0xffff
15 .*: R_MIPS_HI16 \.text
16 .*: 24847ff0 addiu a0,a0,32752
17 .*: R_MIPS_LO16 \.text
18 .*: 3c040000 lui a0,0x0
19 .*: R_MIPS_HI16 \.text
20 .*: 24848000 addiu a0,a0,-32768
21 .*: R_MIPS_LO16 \.text
22 .*: 3c040000 lui a0,0x0
23 .*: R_MIPS_HI16 \.text
24 .*: 24840000 addiu a0,a0,0
25 .*: R_MIPS_LO16 \.text
26 .*: 3c040000 lui a0,0x0
27 .*: R_MIPS_HI16 \.text
28 .*: 24847ff0 addiu a0,a0,32752
29 .*: R_MIPS_LO16 \.text
31 .* <t32a>:
32 .*: 3c040001 lui a0,0x1
33 .*: R_MIPS_HI16 \.text
34 .*: 24848010 addiu a0,a0,-32752
35 .*: R_MIPS_LO16 \.text
37 # Relocations against t32a
39 .*: 3c040000 lui a0,0x0
40 .*: R_MIPS_HI16 \.text
41 .*: 24848010 addiu a0,a0,-32752
42 .*: R_MIPS_LO16 \.text
43 .*: 3c040000 lui a0,0x0
44 .*: R_MIPS_HI16 \.text
45 .*: 24848020 addiu a0,a0,-32736
46 .*: R_MIPS_LO16 \.text
47 .*: 3c040000 lui a0,0x0
48 .*: R_MIPS_HI16 \.text
49 .*: 24840020 addiu a0,a0,32
50 .*: R_MIPS_LO16 \.text
51 .*: 3c040001 lui a0,0x1
52 .*: R_MIPS_HI16 \.text
53 .*: 24848010 addiu a0,a0,-32752
54 .*: R_MIPS_LO16 \.text
55 .*: 3c040001 lui a0,0x1
56 .*: R_MIPS_HI16 \.text
57 .*: 24848030 addiu a0,a0,-32720
58 .*: R_MIPS_LO16 \.text
60 # Relocations against _start
62 .*: 3c04ffff lui a0,0xffff
63 .*: R_MIPS_HI16 _start
64 .*: 24847ff0 addiu a0,a0,32752
65 .*: R_MIPS_LO16 _start
66 .*: 3c040000 lui a0,0x0
67 .*: R_MIPS_HI16 _start
68 .*: 24848000 addiu a0,a0,-32768
69 .*: R_MIPS_LO16 _start
70 .*: 3c040000 lui a0,0x0
71 .*: R_MIPS_HI16 _start
72 .*: 24840000 addiu a0,a0,0
73 .*: R_MIPS_LO16 _start
74 .*: 3c040000 lui a0,0x0
75 .*: R_MIPS_HI16 _start
76 .*: 24847ff0 addiu a0,a0,32752
77 .*: R_MIPS_LO16 _start
78 .*: 3c040001 lui a0,0x1
79 .*: R_MIPS_HI16 _start
80 .*: 24848010 addiu a0,a0,-32752
81 .*: R_MIPS_LO16 _start
83 # Relocations against tstarta
85 .*: 3c04ffff lui a0,0xffff
86 .*: R_MIPS_GOT16 \.text
87 .*: 24847ff0 addiu a0,a0,32752
88 .*: R_MIPS_LO16 \.text
89 .*: 3c040000 lui a0,0x0
90 .*: R_MIPS_GOT16 \.text
91 .*: 24848000 addiu a0,a0,-32768
92 .*: R_MIPS_LO16 \.text
93 .*: 3c040000 lui a0,0x0
94 .*: R_MIPS_GOT16 \.text
95 .*: 24840000 addiu a0,a0,0
96 .*: R_MIPS_LO16 \.text
97 .*: 3c040000 lui a0,0x0
98 .*: R_MIPS_GOT16 \.text
99 .*: 24847ff0 addiu a0,a0,32752
100 .*: R_MIPS_LO16 \.text
101 .*: 3c040001 lui a0,0x1
102 .*: R_MIPS_GOT16 \.text
103 .*: 24848010 addiu a0,a0,-32752
104 .*: R_MIPS_LO16 \.text
106 # Relocations against t32a
108 .*: 3c040000 lui a0,0x0
109 .*: R_MIPS_GOT16 \.text
110 .*: 24848010 addiu a0,a0,-32752
111 .*: R_MIPS_LO16 \.text
112 .*: 3c040000 lui a0,0x0
113 .*: R_MIPS_GOT16 \.text
114 .*: 24848020 addiu a0,a0,-32736
115 .*: R_MIPS_LO16 \.text
116 .*: 3c040000 lui a0,0x0
117 .*: R_MIPS_GOT16 \.text
118 .*: 24840020 addiu a0,a0,32
119 .*: R_MIPS_LO16 \.text
120 .*: 3c040001 lui a0,0x1
121 .*: R_MIPS_GOT16 \.text
122 .*: 24848010 addiu a0,a0,-32752
123 .*: R_MIPS_LO16 \.text
124 .*: 3c040001 lui a0,0x1
125 .*: R_MIPS_GOT16 \.text
126 .*: 24848030 addiu a0,a0,-32720
127 .*: R_MIPS_LO16 \.text
129 # Relocations against sdg
131 .*: 2484fffc addiu a0,a0,-4
132 .*: R_MIPS_GPREL16 sdg
133 .*: 24840000 addiu a0,a0,0
134 .*: R_MIPS_GPREL16 sdg
135 .*: 24840004 addiu a0,a0,4
136 .*: R_MIPS_GPREL16 sdg
138 # Relocations against sdla
140 .*: 2484801c addiu a0,a0,-32740
141 .*: R_MIPS_GPREL16 \.sdata\+0x7ff0
142 .*: 24848020 addiu a0,a0,-32736
143 .*: R_MIPS_GPREL16 \.sdata\+0x7ff0
144 .*: 24848024 addiu a0,a0,-32732
145 .*: R_MIPS_GPREL16 \.sdata\+0x7ff0
147 # Relocations against tstarta
149 .*: 0fffffff jal .*
150 .*: R_MIPS_26 \.text
151 .*: 00000000 nop
152 .*: 0c000000 jal .*
153 .*: R_MIPS_26 \.text
154 .*: 00000000 nop
155 .*: 0c000001 jal .*
156 .*: R_MIPS_26 \.text
157 .*: 00000000 nop
159 # Relocations against t32a
161 .*: 0c000007 jal .*
162 .*: R_MIPS_26 \.text
163 .*: 00000000 nop
164 .*: 0c000008 jal .*
165 .*: R_MIPS_26 \.text
166 .*: 00000000 nop
167 .*: 0c000009 jal .*
168 .*: R_MIPS_26 \.text
169 .*: 00000000 nop
171 # Relocations against _start
173 .*: 0fffffff jal .*
174 .*: R_MIPS_26 _start
175 .*: 00000000 nop
176 .*: 0c000000 jal .*
177 .*: R_MIPS_26 _start
178 .*: 00000000 nop
179 .*: 0c000001 jal .*
180 .*: R_MIPS_26 _start
181 .*: 00000000 nop
182 \.\.\.
184 .* <tstartb>:
186 # Relocations against tstartb
188 .*: 3c040000 lui a0,0x0
189 .*: R_MIPS_HI16 \.text
190 .*: 24847fe0 addiu a0,a0,32736
191 .*: R_MIPS_LO16 \.text
192 .*: 3c040000 lui a0,0x0
193 .*: R_MIPS_HI16 \.text
194 .*: 24847ff0 addiu a0,a0,32752
195 .*: R_MIPS_LO16 \.text
196 .*: 3c040001 lui a0,0x1
197 .*: R_MIPS_HI16 \.text
198 .*: 2484fff0 addiu a0,a0,-16
199 .*: R_MIPS_LO16 \.text
200 .*: 3c040001 lui a0,0x1
201 .*: R_MIPS_HI16 \.text
202 .*: 24847fe0 addiu a0,a0,32736
203 .*: R_MIPS_LO16 \.text
205 .* <t32b>:
206 .*: 3c040002 lui a0,0x2
207 .*: R_MIPS_HI16 \.text
208 .*: 24848000 addiu a0,a0,-32768
209 .*: R_MIPS_LO16 \.text
211 # Relocations against t32b
213 .*: 3c040001 lui a0,0x1
214 .*: R_MIPS_HI16 \.text
215 .*: 24848000 addiu a0,a0,-32768
216 .*: R_MIPS_LO16 \.text
217 .*: 3c040001 lui a0,0x1
218 .*: R_MIPS_HI16 \.text
219 .*: 24848010 addiu a0,a0,-32752
220 .*: R_MIPS_LO16 \.text
221 .*: 3c040001 lui a0,0x1
222 .*: R_MIPS_HI16 \.text
223 .*: 24840010 addiu a0,a0,16
224 .*: R_MIPS_LO16 \.text
225 .*: 3c040002 lui a0,0x2
226 .*: R_MIPS_HI16 \.text
227 .*: 24848000 addiu a0,a0,-32768
228 .*: R_MIPS_LO16 \.text
229 .*: 3c040002 lui a0,0x2
230 .*: R_MIPS_HI16 \.text
231 .*: 24848020 addiu a0,a0,-32736
232 .*: R_MIPS_LO16 \.text
234 # Relocations against _start
236 .*: 3c04ffff lui a0,0xffff
237 .*: R_MIPS_HI16 _start
238 .*: 24847ff0 addiu a0,a0,32752
239 .*: R_MIPS_LO16 _start
240 .*: 3c040000 lui a0,0x0
241 .*: R_MIPS_HI16 _start
242 .*: 24848000 addiu a0,a0,-32768
243 .*: R_MIPS_LO16 _start
244 .*: 3c040000 lui a0,0x0
245 .*: R_MIPS_HI16 _start
246 .*: 24840000 addiu a0,a0,0
247 .*: R_MIPS_LO16 _start
248 .*: 3c040000 lui a0,0x0
249 .*: R_MIPS_HI16 _start
250 .*: 24847ff0 addiu a0,a0,32752
251 .*: R_MIPS_LO16 _start
252 .*: 3c040001 lui a0,0x1
253 .*: R_MIPS_HI16 _start
254 .*: 24848010 addiu a0,a0,-32752
255 .*: R_MIPS_LO16 _start
257 # Relocations against tstartb
259 .*: 3c040000 lui a0,0x0
260 .*: R_MIPS_GOT16 \.text
261 .*: 24847fe0 addiu a0,a0,32736
262 .*: R_MIPS_LO16 \.text
263 .*: 3c040000 lui a0,0x0
264 .*: R_MIPS_GOT16 \.text
265 .*: 24847ff0 addiu a0,a0,32752
266 .*: R_MIPS_LO16 \.text
267 .*: 3c040001 lui a0,0x1
268 .*: R_MIPS_GOT16 \.text
269 .*: 2484fff0 addiu a0,a0,-16
270 .*: R_MIPS_LO16 \.text
271 .*: 3c040001 lui a0,0x1
272 .*: R_MIPS_GOT16 \.text
273 .*: 24847fe0 addiu a0,a0,32736
274 .*: R_MIPS_LO16 \.text
275 .*: 3c040002 lui a0,0x2
276 .*: R_MIPS_GOT16 \.text
277 .*: 24848000 addiu a0,a0,-32768
278 .*: R_MIPS_LO16 \.text
280 # Relocations against t32b
282 .*: 3c040001 lui a0,0x1
283 .*: R_MIPS_GOT16 \.text
284 .*: 24848000 addiu a0,a0,-32768
285 .*: R_MIPS_LO16 \.text
286 .*: 3c040001 lui a0,0x1
287 .*: R_MIPS_GOT16 \.text
288 .*: 24848010 addiu a0,a0,-32752
289 .*: R_MIPS_LO16 \.text
290 .*: 3c040001 lui a0,0x1
291 .*: R_MIPS_GOT16 \.text
292 .*: 24840010 addiu a0,a0,16
293 .*: R_MIPS_LO16 \.text
294 .*: 3c040002 lui a0,0x2
295 .*: R_MIPS_GOT16 \.text
296 .*: 24848000 addiu a0,a0,-32768
297 .*: R_MIPS_LO16 \.text
298 .*: 3c040002 lui a0,0x2
299 .*: R_MIPS_GOT16 \.text
300 .*: 24848020 addiu a0,a0,-32736
301 .*: R_MIPS_LO16 \.text
303 # Relocations against sdg
305 .*: 2484fffc addiu a0,a0,-4
306 .*: R_MIPS_GPREL16 sdg
307 .*: 24840000 addiu a0,a0,0
308 .*: R_MIPS_GPREL16 sdg
309 .*: 24840004 addiu a0,a0,4
310 .*: R_MIPS_GPREL16 sdg
312 # Relocations against sdlb
314 .*: 2484803c addiu a0,a0,-32708
315 .*: R_MIPS_GPREL16 \.sdata\+0x7ff0
316 .*: 24848040 addiu a0,a0,-32704
317 .*: R_MIPS_GPREL16 \.sdata\+0x7ff0
318 .*: 24848044 addiu a0,a0,-32700
319 .*: R_MIPS_GPREL16 \.sdata\+0x7ff0
321 # Relocations against tstartb
323 .*: 0c003ffb jal .*
324 .*: R_MIPS_26 \.text
325 .*: 00000000 nop
326 .*: 0c003ffc jal .*
327 .*: R_MIPS_26 \.text
328 .*: 00000000 nop
329 .*: 0c003ffd jal .*
330 .*: R_MIPS_26 \.text
331 .*: 00000000 nop
333 # Relocations against t32b
335 .*: 0c004003 jal .*
336 .*: R_MIPS_26 \.text
337 .*: 00000000 nop
338 .*: 0c004004 jal .*
339 .*: R_MIPS_26 \.text
340 .*: 00000000 nop
341 .*: 0c004005 jal .*
342 .*: R_MIPS_26 \.text
343 .*: 00000000 nop
345 # Relocations against _start
347 .*: 0fffffff jal .*
348 .*: R_MIPS_26 _start
349 .*: 00000000 nop
350 .*: 0c000000 jal .*
351 .*: R_MIPS_26 _start
352 .*: 00000000 nop
353 .*: 0c000001 jal .*
354 .*: R_MIPS_26 _start
355 .*: 00000000 nop
356 \.\.\.