1 #name: MIPS BAL/JALX addend calculation
2 #source: ../../../gas/testsuite/gas/mips/branch-addend.s
3 #ld: -Ttext 0x1c000000 -e 0x1c000000
4 #objdump: -dr --prefix-addresses --show-raw-insn
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]+ <[^>]*> 001f 0f3c 	jr	ra
12 [0-9a-f]+ <[^>]*> 0000 02d0 	not	zero,zero
13 [0-9a-f]+ <[^>]*> 0000 0000 	nop
14 [0-9a-f]+ <[^>]*> 00000027 	nor	zero,zero,zero
15 [0-9a-f]+ <[^>]*> 77008400 	jalx	0*1c021000 <.*>
16 [0-9a-f]+ <[^>]*> 00000027 	nor	zero,zero,zero
17 [0-9a-f]+ <[^>]*> 04117ffc 	bal	0*1c021010 <.*>
18 [0-9a-f]+ <[^>]*> 00000027 	nor	zero,zero,zero
19 [0-9a-f]+ <[^>]*> 03e00009 	jalr	zero,ra
20 [0-9a-f]+ <[^>]*> 00000027 	nor	zero,zero,zero
21 	\.\.\.
22