1 #name: MIPS JAL/JALX addend calculation 2 #source: ../../../gas/testsuite/gas/mips/jalx-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]+ <[^>]*> f400 0801 jal 0*18001002 <.*> 12 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero 13 [0-9a-f]+ <[^>]*> f100 0409 jalx 0*14001024 <.*> 14 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero 15 [0-9a-f]+ <[^>]*> 001f 0f3c jr ra 16 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero 17 [0-9a-f]+ <[^>]*> 0000 0000 nop 18 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero 19 [0-9a-f]+ <[^>]*> 75000401 jalx 0*14001004 <.*> 20 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero 21 [0-9a-f]+ <[^>]*> 0d000409 jal 0*14001024 <.*> 22 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero 23 [0-9a-f]+ <[^>]*> 03e00009 jalr zero,ra 24 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero 25 \.\.\. 26