1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: MIPS branch-misc-4-64
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 0000 b [0-9a-f]+ <foo\+0x[0-9a-f]+>
13 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 bar\-0x4
14 [ ]*[0-9a-f]+: R_MIPS_NONE \*ABS\*\-0x4
15 [ ]*[0-9a-f]+: R_MIPS_NONE \*ABS\*\-0x4
16 [0-9a-f]+ <[^>]*> 0c00 nop
17 [0-9a-f]+ <[^>]*> 9400 0000 b [0-9a-f]+ <foo\+0x[0-9a-f]+>
18 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 \.init\+0x2
19 [ ]*[0-9a-f]+: R_MIPS_NONE \*ABS\*\+0x2
20 [ ]*[0-9a-f]+: R_MIPS_NONE \*ABS\*\+0x2
21 [0-9a-f]+ <[^>]*> 0c00 nop
24 Disassembly of section \.init:
25 [0-9a-f]+ <[^>]*> 9400 0000 b [0-9a-f]+ <bar\+0x[0-9a-f]+>
26 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 foo\-0x4
27 [ ]*[0-9a-f]+: R_MIPS_NONE \*ABS\*\-0x4
28 [ ]*[0-9a-f]+: R_MIPS_NONE \*ABS\*\-0x4
29 [0-9a-f]+ <[^>]*> 0c00 nop
30 [0-9a-f]+ <[^>]*> 9400 0000 b [0-9a-f]+ <bar\+0x[0-9a-f]+>
31 [ ]*[0-9a-f]+: R_MICROMIPS_PC16_S1 \.text\+0x40002
32 [ ]*[0-9a-f]+: R_MIPS_NONE \*ABS\*\+0x40002
33 [ ]*[0-9a-f]+: R_MIPS_NONE \*ABS\*\+0x40002
34 [0-9a-f]+ <[^>]*> 0c00 nop