1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: MIPS branch-misc-4
4 #source: branch-misc-4.s
6 # Verify PC-relative relocations do not overflow (microMIPS).
8 .*: +file format .*mips.*
10 Disassembly of section \.text:
12 ([0-9a-f]+) <[^>]*> 40e0 fffe bc \1 <foo>
13 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 bar
14 ([0-9a-f]+) <[^>]*> 40e0 fffe bc \1 <\.Lfoo>
15 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 \.Lbar
18 Disassembly of section \.init:
19 ([0-9a-f]+) <[^>]*> 40e0 fffe bc \1 <bar>
20 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 foo
21 ([0-9a-f]+) <[^>]*> 40e0 fffe bc \1 <\.Lbar>
22 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 \.Lfoo