1#objdump: -dr --prefix-addresses --show-raw-insn
2#name: MIPS branch-misc-4-64
3#as: -64
4#source: branch-misc-4.s
5
6# Verify PC-relative relocations do not overflow (microMIPS).
7
8.*: +file format .*mips.*
9
10Disassembly of section \.text:
11	\.\.\.
12[0-9a-f]+ <[^>]*> 40e0 0000 	bc	[0-9a-f]+ <\.Lfoo>
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]+ <[^>]*> 40e0 0000 	bc	[0-9a-f]+ <\.Lfoo\+0x[0-9a-f]+>
17[ 	]*[0-9a-f]+: R_MICROMIPS_PC16_S1	\.Lbar-0x4
18[ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*-0x4
19[ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*-0x4
20	\.\.\.
21
22Disassembly of section \.init:
23[0-9a-f]+ <[^>]*> 40e0 0000 	bc	[0-9a-f]+ <\.Lbar>
24[ 	]*[0-9a-f]+: R_MICROMIPS_PC16_S1	foo\-0x4
25[ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*\-0x4
26[ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*\-0x4
27[0-9a-f]+ <[^>]*> 40e0 0000 	bc	[0-9a-f]+ <\.Lbar\+0x[0-9a-f]+>
28[ 	]*[0-9a-f]+: R_MICROMIPS_PC16_S1	\.Lfoo-0x4
29[ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*-0x4
30[ 	]*[0-9a-f]+: R_MIPS_NONE	\*ABS\*-0x4
31	\.\.\.
32