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]+) <[^>]*> 9400 fffe b \1 <foo>
13 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 bar
14 [0-9a-f]+ <[^>]*> 0c00 nop
15 ([0-9a-f]+) <[^>]*> 9400 fffe b \1 <\.Lfoo>
16 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 \.Lbar
17 [0-9a-f]+ <[^>]*> 0c00 nop
20 Disassembly of section \.init:
21 ([0-9a-f]+) <[^>]*> 9400 fffe b \1 <bar>
22 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 foo
23 [0-9a-f]+ <[^>]*> 0c00 nop
24 ([0-9a-f]+) <[^>]*> 9400 fffe b \1 <\.Lbar>
25 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 \.Lfoo
26 [0-9a-f]+ <[^>]*> 0c00 nop