1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: MIPS branch-misc-4
3 #as: -32
4 
5 # Verify PC-relative relocations do not overflow.
6 
7 .*: +file format .*mips.*
8 
9 Disassembly of section \.text:
10 	\.\.\.
11 ([0-9a-f]+) <[^>]*> 1000ffff 	b	\1 <foo>
12 [ 	]*[0-9a-f]+: R_MIPS_PC16	bar
13 [0-9a-f]+ <[^>]*> 00000000 	nop
14 ([0-9a-f]+) <[^>]*> 1000ffff 	b	\1 <\.Lfoo>
15 [ 	]*[0-9a-f]+: R_MIPS_PC16	\.Lbar
16 [0-9a-f]+ <[^>]*> 00000000 	nop
17 	\.\.\.
18 
19 Disassembly of section \.init:
20 ([0-9a-f]+) <[^>]*> 1000ffff 	b	\1 <bar>
21 [ 	]*[0-9a-f]+: R_MIPS_PC16	foo
22 [0-9a-f]+ <[^>]*> 00000000 	nop
23 ([0-9a-f]+) <[^>]*> 1000ffff 	b	\1 <\.Lbar>
24 [ 	]*[0-9a-f]+: R_MIPS_PC16	\.Lfoo
25 [0-9a-f]+ <[^>]*> 00000000 	nop
26 	\.\.\.
27