bfd/
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / relax.d
CommitLineData
66b3e8da
MR
1#as: -KPIC -32 -relax-branch
2#objdump: -dr --prefix-addresses
594e740f 3#name: MIPS relax
63d0b393 4#stderr: relax.l
594e740f
L
5
6# Test relaxation.
7
8.*: +file format .*mips.*
9
63d0b393
AO
10Disassembly of section \.text:
1100000000 <foo> lw at,2\(gp\)
12 0: R_MIPS_GOT16 \.text
1300000004 <foo\+0x4> addiu at,at,592
14 4: R_MIPS_LO16 \.text
1500000008 <foo\+0x8> jr at
160000000c <foo\+0xc> nop
1700000010 <foo\+0x10> lw at,2\(gp\)
18 10: R_MIPS_GOT16 \.text
1900000014 <foo\+0x14> addiu at,at,592
20 14: R_MIPS_LO16 \.text
2100000018 <foo\+0x18> jalr at
220000001c <foo\+0x1c> nop
2300000020 <foo\+0x20> bne v0,v1,00000034 <foo\+0x34>
2400000024 <foo\+0x24> nop
2500000028 <foo\+0x28> lw at,2\(gp\)
26 28: R_MIPS_GOT16 \.text
270000002c <foo\+0x2c> addiu at,at,592
28 2c: R_MIPS_LO16 \.text
2900000030 <foo\+0x30> jr at
3000000034 <foo\+0x34> nop
3100000038 <foo\+0x38> beq a0,a1,0000004c <foo\+0x4c>
320000003c <foo\+0x3c> nop
3300000040 <foo\+0x40> lw at,2\(gp\)
34 40: R_MIPS_GOT16 \.text
3500000044 <foo\+0x44> addiu at,at,592
36 44: R_MIPS_LO16 \.text
3700000048 <foo\+0x48> jr at
380000004c <foo\+0x4c> nop
3900000050 <foo\+0x50> bgtz v0,00000064 <foo\+0x64>
4000000054 <foo\+0x54> nop
4100000058 <foo\+0x58> lw at,2\(gp\)
42 58: R_MIPS_GOT16 \.text
430000005c <foo\+0x5c> addiu at,at,592
44 5c: R_MIPS_LO16 \.text
4500000060 <foo\+0x60> jr at
4600000064 <foo\+0x64> nop
4700000068 <foo\+0x68> blez v1,0000007c <foo\+0x7c>
480000006c <foo\+0x6c> nop
4900000070 <foo\+0x70> lw at,2\(gp\)
50 70: R_MIPS_GOT16 \.text
5100000074 <foo\+0x74> addiu at,at,592
52 74: R_MIPS_LO16 \.text
5300000078 <foo\+0x78> jr at
540000007c <foo\+0x7c> nop
5500000080 <foo\+0x80> bgez a0,00000094 <foo\+0x94>
5600000084 <foo\+0x84> nop
5700000088 <foo\+0x88> lw at,2\(gp\)
58 88: R_MIPS_GOT16 \.text
590000008c <foo\+0x8c> addiu at,at,592
60 8c: R_MIPS_LO16 \.text
6100000090 <foo\+0x90> jr at
6200000094 <foo\+0x94> nop
6300000098 <foo\+0x98> bltz a1,000000ac <foo\+0xac>
640000009c <foo\+0x9c> nop
65000000a0 <foo\+0xa0> lw at,2\(gp\)
66 a0: R_MIPS_GOT16 \.text
67000000a4 <foo\+0xa4> addiu at,at,592
68 a4: R_MIPS_LO16 \.text
69000000a8 <foo\+0xa8> jr at
70000000ac <foo\+0xac> nop
71000000b0 <foo\+0xb0> bc1t 000000c4 <foo\+0xc4>
72000000b4 <foo\+0xb4> nop
73000000b8 <foo\+0xb8> lw at,2\(gp\)
74 b8: R_MIPS_GOT16 \.text
75000000bc <foo\+0xbc> addiu at,at,592
76 bc: R_MIPS_LO16 \.text
77000000c0 <foo\+0xc0> jr at
78000000c4 <foo\+0xc4> nop
79000000c8 <foo\+0xc8> bc1f 000000dc <foo\+0xdc>
80000000cc <foo\+0xcc> nop
81000000d0 <foo\+0xd0> lw at,2\(gp\)
82 d0: R_MIPS_GOT16 \.text
83000000d4 <foo\+0xd4> addiu at,at,592
84 d4: R_MIPS_LO16 \.text
85000000d8 <foo\+0xd8> jr at
86000000dc <foo\+0xdc> nop
87000000e0 <foo\+0xe0> bgez v0,000000f4 <foo\+0xf4>
88000000e4 <foo\+0xe4> nop
89000000e8 <foo\+0xe8> lw at,2\(gp\)
90 e8: R_MIPS_GOT16 \.text
91000000ec <foo\+0xec> addiu at,at,592
92 ec: R_MIPS_LO16 \.text
93000000f0 <foo\+0xf0> jalr at
94000000f4 <foo\+0xf4> nop
95000000f8 <foo\+0xf8> bltz v1,0000010c <foo\+0x10c>
96000000fc <foo\+0xfc> nop
9700000100 <foo\+0x100> lw at,2\(gp\)
98 100: R_MIPS_GOT16 \.text
9900000104 <foo\+0x104> addiu at,at,592
100 104: R_MIPS_LO16 \.text
10100000108 <foo\+0x108> jalr at
1020000010c <foo\+0x10c> nop
10300000110 <foo\+0x110> beql v0,v1,00000120 <foo\+0x120>
10400000114 <foo\+0x114> nop
10500000118 <foo\+0x118> beqzl zero,00000130 <foo\+0x130>
1060000011c <foo\+0x11c> nop
10700000120 <foo\+0x120> lw at,2\(gp\)
108 120: R_MIPS_GOT16 \.text
10900000124 <foo\+0x124> addiu at,at,592
110 124: R_MIPS_LO16 \.text
11100000128 <foo\+0x128> jr at
1120000012c <foo\+0x12c> nop
11300000130 <foo\+0x130> bnel a0,a1,00000140 <foo\+0x140>
11400000134 <foo\+0x134> nop
11500000138 <foo\+0x138> beqzl zero,00000150 <foo\+0x150>
1160000013c <foo\+0x13c> nop
11700000140 <foo\+0x140> lw at,2\(gp\)
118 140: R_MIPS_GOT16 \.text
11900000144 <foo\+0x144> addiu at,at,592
120 144: R_MIPS_LO16 \.text
12100000148 <foo\+0x148> jr at
1220000014c <foo\+0x14c> nop
12300000150 <foo\+0x150> blezl v0,00000160 <foo\+0x160>
12400000154 <foo\+0x154> nop
12500000158 <foo\+0x158> beqzl zero,00000170 <foo\+0x170>
1260000015c <foo\+0x15c> nop
12700000160 <foo\+0x160> lw at,2\(gp\)
128 160: R_MIPS_GOT16 \.text
12900000164 <foo\+0x164> addiu at,at,592
130 164: R_MIPS_LO16 \.text
13100000168 <foo\+0x168> jr at
1320000016c <foo\+0x16c> nop
13300000170 <foo\+0x170> bgtzl v1,00000180 <foo\+0x180>
13400000174 <foo\+0x174> nop
13500000178 <foo\+0x178> beqzl zero,00000190 <foo\+0x190>
1360000017c <foo\+0x17c> nop
13700000180 <foo\+0x180> lw at,2\(gp\)
138 180: R_MIPS_GOT16 \.text
13900000184 <foo\+0x184> addiu at,at,592
140 184: R_MIPS_LO16 \.text
14100000188 <foo\+0x188> jr at
1420000018c <foo\+0x18c> nop
14300000190 <foo\+0x190> bltzl a0,000001a0 <foo\+0x1a0>
14400000194 <foo\+0x194> nop
14500000198 <foo\+0x198> beqzl zero,000001b0 <foo\+0x1b0>
1460000019c <foo\+0x19c> nop
147000001a0 <foo\+0x1a0> lw at,2\(gp\)
148 1a0: R_MIPS_GOT16 \.text
149000001a4 <foo\+0x1a4> addiu at,at,592
150 1a4: R_MIPS_LO16 \.text
151000001a8 <foo\+0x1a8> jr at
152000001ac <foo\+0x1ac> nop
153000001b0 <foo\+0x1b0> bgezl a1,000001c0 <foo\+0x1c0>
154000001b4 <foo\+0x1b4> nop
155000001b8 <foo\+0x1b8> beqzl zero,000001d0 <foo\+0x1d0>
156000001bc <foo\+0x1bc> nop
157000001c0 <foo\+0x1c0> lw at,2\(gp\)
158 1c0: R_MIPS_GOT16 \.text
159000001c4 <foo\+0x1c4> addiu at,at,592
160 1c4: R_MIPS_LO16 \.text
161000001c8 <foo\+0x1c8> jr at
162000001cc <foo\+0x1cc> nop
163000001d0 <foo\+0x1d0> bc1fl 000001e0 <foo\+0x1e0>
164000001d4 <foo\+0x1d4> nop
165000001d8 <foo\+0x1d8> beqzl zero,000001f0 <foo\+0x1f0>
166000001dc <foo\+0x1dc> nop
167000001e0 <foo\+0x1e0> lw at,2\(gp\)
168 1e0: R_MIPS_GOT16 \.text
169000001e4 <foo\+0x1e4> addiu at,at,592
170 1e4: R_MIPS_LO16 \.text
171000001e8 <foo\+0x1e8> jr at
172000001ec <foo\+0x1ec> nop
173000001f0 <foo\+0x1f0> bc1tl 00000200 <foo\+0x200>
174000001f4 <foo\+0x1f4> nop
175000001f8 <foo\+0x1f8> beqzl zero,00000210 <foo\+0x210>
176000001fc <foo\+0x1fc> nop
17700000200 <foo\+0x200> lw at,2\(gp\)
178 200: R_MIPS_GOT16 \.text
17900000204 <foo\+0x204> addiu at,at,592
180 204: R_MIPS_LO16 \.text
18100000208 <foo\+0x208> jr at
1820000020c <foo\+0x20c> nop
18300000210 <foo\+0x210> bltzl v0,00000220 <foo\+0x220>
18400000214 <foo\+0x214> nop
18500000218 <foo\+0x218> beqzl zero,00000230 <foo\+0x230>
1860000021c <foo\+0x21c> nop
18700000220 <foo\+0x220> lw at,2\(gp\)
188 220: R_MIPS_GOT16 \.text
18900000224 <foo\+0x224> addiu at,at,592
190 224: R_MIPS_LO16 \.text
19100000228 <foo\+0x228> jalr at
1920000022c <foo\+0x22c> nop
19300000230 <foo\+0x230> bgezl v1,00000240 <foo\+0x240>
19400000234 <foo\+0x234> nop
19500000238 <foo\+0x238> beqzl zero,00000250 <foo\+0x250>
1960000023c <foo\+0x23c> nop
19700000240 <foo\+0x240> lw at,2\(gp\)
198 240: R_MIPS_GOT16 \.text
19900000244 <foo\+0x244> addiu at,at,592
200 244: R_MIPS_LO16 \.text
20100000248 <foo\+0x248> jalr at
2020000024c <foo\+0x24c> nop
203 \.\.\.
20400020250 <bar> lw at,0\(gp\)
205 20250: R_MIPS_GOT16 \.text
20600020254 <bar\+0x4> addiu at,at,0
207 20254: R_MIPS_LO16 \.text
20800020258 <bar\+0x8> jr at
2090002025c <bar\+0xc> nop
21000020260 <bar\+0x10> lw at,0\(gp\)
211 20260: R_MIPS_GOT16 \.text
21200020264 <bar\+0x14> addiu at,at,0
213 20264: R_MIPS_LO16 \.text
21400020268 <bar\+0x18> jalr at
2150002026c <bar\+0x1c> nop
21600020270 <bar\+0x20> bne v0,v1,00020284 <bar\+0x34>
21700020274 <bar\+0x24> nop
21800020278 <bar\+0x28> lw at,0\(gp\)
219 20278: R_MIPS_GOT16 \.text
2200002027c <bar\+0x2c> addiu at,at,0
221 2027c: R_MIPS_LO16 \.text
22200020280 <bar\+0x30> jr at
22300020284 <bar\+0x34> nop
22400020288 <bar\+0x38> beq a0,a1,0002029c <bar\+0x4c>
2250002028c <bar\+0x3c> nop
22600020290 <bar\+0x40> lw at,0\(gp\)
227 20290: R_MIPS_GOT16 \.text
22800020294 <bar\+0x44> addiu at,at,0
229 20294: R_MIPS_LO16 \.text
23000020298 <bar\+0x48> jr at
2310002029c <bar\+0x4c> nop
232000202a0 <bar\+0x50> bgtz v0,000202b4 <bar\+0x64>
233000202a4 <bar\+0x54> nop
234000202a8 <bar\+0x58> lw at,0\(gp\)
235 202a8: R_MIPS_GOT16 \.text
236000202ac <bar\+0x5c> addiu at,at,0
237 202ac: R_MIPS_LO16 \.text
238000202b0 <bar\+0x60> jr at
239000202b4 <bar\+0x64> nop
240000202b8 <bar\+0x68> blez v1,000202cc <bar\+0x7c>
241000202bc <bar\+0x6c> nop
242000202c0 <bar\+0x70> lw at,0\(gp\)
243 202c0: R_MIPS_GOT16 \.text
244000202c4 <bar\+0x74> addiu at,at,0
245 202c4: R_MIPS_LO16 \.text
246000202c8 <bar\+0x78> jr at
247000202cc <bar\+0x7c> nop
248000202d0 <bar\+0x80> bgez a0,000202e4 <bar\+0x94>
249000202d4 <bar\+0x84> nop
250000202d8 <bar\+0x88> lw at,0\(gp\)
251 202d8: R_MIPS_GOT16 \.text
252000202dc <bar\+0x8c> addiu at,at,0
253 202dc: R_MIPS_LO16 \.text
254000202e0 <bar\+0x90> jr at
255000202e4 <bar\+0x94> nop
256000202e8 <bar\+0x98> bltz a1,000202fc <bar\+0xac>
257000202ec <bar\+0x9c> nop
258000202f0 <bar\+0xa0> lw at,0\(gp\)
259 202f0: R_MIPS_GOT16 \.text
260000202f4 <bar\+0xa4> addiu at,at,0
261 202f4: R_MIPS_LO16 \.text
262000202f8 <bar\+0xa8> jr at
263000202fc <bar\+0xac> nop
26400020300 <bar\+0xb0> bc1t 00020314 <bar\+0xc4>
26500020304 <bar\+0xb4> nop
26600020308 <bar\+0xb8> lw at,0\(gp\)
267 20308: R_MIPS_GOT16 \.text
2680002030c <bar\+0xbc> addiu at,at,0
269 2030c: R_MIPS_LO16 \.text
27000020310 <bar\+0xc0> jr at
27100020314 <bar\+0xc4> nop
27200020318 <bar\+0xc8> bc1f 0002032c <bar\+0xdc>
2730002031c <bar\+0xcc> nop
27400020320 <bar\+0xd0> lw at,0\(gp\)
275 20320: R_MIPS_GOT16 \.text
27600020324 <bar\+0xd4> addiu at,at,0
277 20324: R_MIPS_LO16 \.text
27800020328 <bar\+0xd8> jr at
2790002032c <bar\+0xdc> nop
28000020330 <bar\+0xe0> bgez v0,00020344 <bar\+0xf4>
28100020334 <bar\+0xe4> nop
28200020338 <bar\+0xe8> lw at,0\(gp\)
283 20338: R_MIPS_GOT16 \.text
2840002033c <bar\+0xec> addiu at,at,0
285 2033c: R_MIPS_LO16 \.text
28600020340 <bar\+0xf0> jalr at
28700020344 <bar\+0xf4> nop
28800020348 <bar\+0xf8> bltz v1,0002035c <bar\+0x10c>
2890002034c <bar\+0xfc> nop
29000020350 <bar\+0x100> lw at,0\(gp\)
291 20350: R_MIPS_GOT16 \.text
29200020354 <bar\+0x104> addiu at,at,0
293 20354: R_MIPS_LO16 \.text
29400020358 <bar\+0x108> jalr at
2950002035c <bar\+0x10c> nop
29600020360 <bar\+0x110> beql v0,v1,00020370 <bar\+0x120>
29700020364 <bar\+0x114> nop
29800020368 <bar\+0x118> beqzl zero,00020380 <bar\+0x130>
2990002036c <bar\+0x11c> nop
30000020370 <bar\+0x120> lw at,0\(gp\)
301 20370: R_MIPS_GOT16 \.text
30200020374 <bar\+0x124> addiu at,at,0
303 20374: R_MIPS_LO16 \.text
30400020378 <bar\+0x128> jr at
3050002037c <bar\+0x12c> nop
30600020380 <bar\+0x130> bnel a0,a1,00020390 <bar\+0x140>
30700020384 <bar\+0x134> nop
30800020388 <bar\+0x138> beqzl zero,000203a0 <bar\+0x150>
3090002038c <bar\+0x13c> nop
31000020390 <bar\+0x140> lw at,0\(gp\)
311 20390: R_MIPS_GOT16 \.text
31200020394 <bar\+0x144> addiu at,at,0
313 20394: R_MIPS_LO16 \.text
31400020398 <bar\+0x148> jr at
3150002039c <bar\+0x14c> nop
316000203a0 <bar\+0x150> blezl v0,000203b0 <bar\+0x160>
317000203a4 <bar\+0x154> nop
318000203a8 <bar\+0x158> beqzl zero,000203c0 <bar\+0x170>
319000203ac <bar\+0x15c> nop
320000203b0 <bar\+0x160> lw at,0\(gp\)
321 203b0: R_MIPS_GOT16 \.text
322000203b4 <bar\+0x164> addiu at,at,0
323 203b4: R_MIPS_LO16 \.text
324000203b8 <bar\+0x168> jr at
325000203bc <bar\+0x16c> nop
326000203c0 <bar\+0x170> bgtzl v1,000203d0 <bar\+0x180>
327000203c4 <bar\+0x174> nop
328000203c8 <bar\+0x178> beqzl zero,000203e0 <bar\+0x190>
329000203cc <bar\+0x17c> nop
330000203d0 <bar\+0x180> lw at,0\(gp\)
331 203d0: R_MIPS_GOT16 \.text
332000203d4 <bar\+0x184> addiu at,at,0
333 203d4: R_MIPS_LO16 \.text
334000203d8 <bar\+0x188> jr at
335000203dc <bar\+0x18c> nop
336000203e0 <bar\+0x190> bltzl a0,000203f0 <bar\+0x1a0>
337000203e4 <bar\+0x194> nop
338000203e8 <bar\+0x198> beqzl zero,00020400 <bar\+0x1b0>
339000203ec <bar\+0x19c> nop
340000203f0 <bar\+0x1a0> lw at,0\(gp\)
341 203f0: R_MIPS_GOT16 \.text
342000203f4 <bar\+0x1a4> addiu at,at,0
343 203f4: R_MIPS_LO16 \.text
344000203f8 <bar\+0x1a8> jr at
345000203fc <bar\+0x1ac> nop
34600020400 <bar\+0x1b0> bgezl a1,00020410 <bar\+0x1c0>
34700020404 <bar\+0x1b4> nop
34800020408 <bar\+0x1b8> beqzl zero,00020420 <bar\+0x1d0>
3490002040c <bar\+0x1bc> nop
35000020410 <bar\+0x1c0> lw at,0\(gp\)
351 20410: R_MIPS_GOT16 \.text
35200020414 <bar\+0x1c4> addiu at,at,0
353 20414: R_MIPS_LO16 \.text
35400020418 <bar\+0x1c8> jr at
3550002041c <bar\+0x1cc> nop
35600020420 <bar\+0x1d0> bc1fl 00020430 <bar\+0x1e0>
35700020424 <bar\+0x1d4> nop
35800020428 <bar\+0x1d8> beqzl zero,00020440 <bar\+0x1f0>
3590002042c <bar\+0x1dc> nop
36000020430 <bar\+0x1e0> lw at,0\(gp\)
361 20430: R_MIPS_GOT16 \.text
36200020434 <bar\+0x1e4> addiu at,at,0
363 20434: R_MIPS_LO16 \.text
36400020438 <bar\+0x1e8> jr at
3650002043c <bar\+0x1ec> nop
36600020440 <bar\+0x1f0> bc1tl 00020450 <bar\+0x200>
36700020444 <bar\+0x1f4> nop
36800020448 <bar\+0x1f8> beqzl zero,00020460 <bar\+0x210>
3690002044c <bar\+0x1fc> nop
37000020450 <bar\+0x200> lw at,0\(gp\)
371 20450: R_MIPS_GOT16 \.text
37200020454 <bar\+0x204> addiu at,at,0
373 20454: R_MIPS_LO16 \.text
37400020458 <bar\+0x208> jr at
3750002045c <bar\+0x20c> nop
37600020460 <bar\+0x210> bltzl v0,00020470 <bar\+0x220>
37700020464 <bar\+0x214> nop
37800020468 <bar\+0x218> beqzl zero,00020480 <bar\+0x230>
3790002046c <bar\+0x21c> nop
38000020470 <bar\+0x220> lw at,0\(gp\)
381 20470: R_MIPS_GOT16 \.text
38200020474 <bar\+0x224> addiu at,at,0
383 20474: R_MIPS_LO16 \.text
38400020478 <bar\+0x228> jalr at
3850002047c <bar\+0x22c> nop
38600020480 <bar\+0x230> bgezl v1,00020490 <bar\+0x240>
38700020484 <bar\+0x234> nop
38800020488 <bar\+0x238> beqzl zero,000204a0 <bar\+0x250>
3890002048c <bar\+0x23c> nop
39000020490 <bar\+0x240> lw at,0\(gp\)
391 20490: R_MIPS_GOT16 \.text
39200020494 <bar\+0x244> addiu at,at,0
393 20494: R_MIPS_LO16 \.text
39400020498 <bar\+0x248> jalr at
3950002049c <bar\+0x24c> nop
df58fc94 396 \.\.\.
This page took 0.488535 seconds and 4 git commands to generate.