1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: MIPS JAL/JALX addend encoding (n64)
3 #as: -64 -march=from-abi
4 #source: jalx-addend.s
5 
6 .*: +file format .*mips.*
7 
8 Disassembly of section \.text:
9 	\.\.\.
10 [0-9a-f]+ <[^>]*> 0000 02d0 	not	zero,zero
11 [0-9a-f]+ <[^>]*> f400 0000 	jal	0000000000000000 <foo-0x1000>
12 [ 	]*[0-9a-f]+: R_MICROMIPS_26_S1	foo-0x3fffffe
13 [ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*-0x3fffffe
14 [ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*-0x3fffffe
15 [0-9a-f]+ <[^>]*> 0000 02d0 	not	zero,zero
16 [0-9a-f]+ <[^>]*> f000 0000 	jalx	0000000000000000 <foo-0x1000>
17 [ 	]*[0-9a-f]+: R_MICROMIPS_26_S1	bar-0x7fffffc
18 [ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*-0x7fffffc
19 [ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*-0x7fffffc
20 [0-9a-f]+ <[^>]*> 0000 02d0 	not	zero,zero
21 [0-9a-f]+ <[^>]*> 001f 0f3c 	jr	ra
22 [0-9a-f]+ <[^>]*> 0000 02d0 	not	zero,zero
23 [0-9a-f]+ <[^>]*> 0000 0000 	nop
24 [0-9a-f]+ <[^>]*> 00000027 	nor	zero,zero,zero
25 [0-9a-f]+ <[^>]*> 74000000 	jalx	0000000000000000 <foo-0x1000>
26 [ 	]*[0-9a-f]+: R_MIPS_26	foo-0x7fffffc
27 [ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*-0x7fffffc
28 [ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*-0x7fffffc
29 [0-9a-f]+ <[^>]*> 00000027 	nor	zero,zero,zero
30 [0-9a-f]+ <[^>]*> 0c000000 	jal	0000000000000000 <foo-0x1000>
31 [ 	]*[0-9a-f]+: R_MIPS_26	bar-0x7fffffc
32 [ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*-0x7fffffc
33 [ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*-0x7fffffc
34 [0-9a-f]+ <[^>]*> 00000027 	nor	zero,zero,zero
35 [0-9a-f]+ <[^>]*> 03e00009 	jalr	zero,ra
36 [0-9a-f]+ <[^>]*> 00000027 	nor	zero,zero,zero
37 	\.\.\.
38