MIPS/BFD: Also handle `jalr $0, $25' with R_MIPS_JALR
[external/binutils.git] / gas / testsuite / gas / mips / jalr4.d
1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: MIPS JALR reloc unaligned/cross-mode (o32)
3 #as: -32
4 #source: jalr4.s
5
6 .*: +file format .*mips.*
7
8 Disassembly of section \.text:
9 [0-9a-f]+ <[^>]*> 0320f809      jalr    t9
10 [       ]*[0-9a-f]+: R_MIPS_JALR        bar0
11 [0-9a-f]+ <[^>]*> 00000000      nop
12 [0-9a-f]+ <[^>]*> 03200009      jalr    zero,t9
13 [       ]*[0-9a-f]+: R_MIPS_JALR        bar0
14 [0-9a-f]+ <[^>]*> 00000000      nop
15 [0-9a-f]+ <[^>]*> 03200008      jr      t9
16 [       ]*[0-9a-f]+: R_MIPS_JALR        bar0
17 [0-9a-f]+ <[^>]*> 00000000      nop
18 [0-9a-f]+ <[^>]*> 0320f809      jalr    t9
19 [       ]*[0-9a-f]+: R_MIPS_JALR        bar1
20 [0-9a-f]+ <[^>]*> 00000000      nop
21 [0-9a-f]+ <[^>]*> 03200009      jalr    zero,t9
22 [       ]*[0-9a-f]+: R_MIPS_JALR        bar1
23 [0-9a-f]+ <[^>]*> 00000000      nop
24 [0-9a-f]+ <[^>]*> 03200008      jr      t9
25 [       ]*[0-9a-f]+: R_MIPS_JALR        bar1
26 [0-9a-f]+ <[^>]*> 00000000      nop
27 [0-9a-f]+ <[^>]*> 0320f809      jalr    t9
28 [       ]*[0-9a-f]+: R_MIPS_JALR        bar2
29 [0-9a-f]+ <[^>]*> 00000000      nop
30 [0-9a-f]+ <[^>]*> 03200009      jalr    zero,t9
31 [       ]*[0-9a-f]+: R_MIPS_JALR        bar2
32 [0-9a-f]+ <[^>]*> 00000000      nop
33 [0-9a-f]+ <[^>]*> 03200008      jr      t9
34 [       ]*[0-9a-f]+: R_MIPS_JALR        bar2
35 [0-9a-f]+ <[^>]*> 00000000      nop
36         \.\.\.
37         \.\.\.
38         \.\.\.
39         \.\.\.