1 #name: MIPS BAL/JALX in PIC mode (ignore branch ISA)
2 #source: ../../../gas/testsuite/gas/mips/branch-addend.s
4 #ld: -EB -Ttext 0x1c000000 -e 0x1c000000 -shared --ignore-branch-isa
5 #objdump: -dr --prefix-addresses --show-raw-insn
6 #target: [check_shared_lib_support]
8 .*: +file format .*mips.*
10 Disassembly of section \.text:
12 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero
13 [0-9a-f]+ <[^>]*> 001f 0f3c jr ra
14 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero
15 [0-9a-f]+ <[^>]*> 0000 0000 nop
16 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
17 [0-9a-f]+ <[^>]*> 04117ffa bal 0*1c021000 <.*>
18 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
19 [0-9a-f]+ <[^>]*> 04117ffc bal 0*1c021010 <.*>
20 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
21 [0-9a-f]+ <[^>]*> 03e00009 jalr zero,ra
22 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero