1 #name: MIPS JAL/JALX addend calculation 2 #source: ../../../gas/testsuite/gas/mips/jalx-addend.s 3 #as: -EB -32 4 #ld: -EB -Ttext 0x1c000000 -e 0x1c000000 5 #objdump: -dr --prefix-addresses --show-raw-insn 6 7 .*: +file format .*mips.* 8 9 Disassembly of section \.text: 10 \.\.\. 11 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero 12 [0-9a-f]+ <[^>]*> f400 0801 jal 0*18001002 <.*> 13 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero 14 [0-9a-f]+ <[^>]*> f100 0409 jalx 0*14001024 <.*> 15 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero 16 [0-9a-f]+ <[^>]*> 001f 0f3c jr ra 17 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero 18 [0-9a-f]+ <[^>]*> 0000 0000 nop 19 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero 20 [0-9a-f]+ <[^>]*> 75000401 jalx 0*14001004 <.*> 21 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero 22 [0-9a-f]+ <[^>]*> 0d000409 jal 0*14001024 <.*> 23 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero 24 [0-9a-f]+ <[^>]*> 03e00009 jalr zero,ra 25 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero 26 \.\.\. 27