1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: MIPS branch-misc-2
3 #as: -32 -non_shared
4 
5 # Test the backward branches to globals symbols in current file.
6 
7 .*: +file format .*mips.*
8 
9 Disassembly of section .text:
10 	\.\.\.
11 	\.\.\.
12 	\.\.\.
13 0+003c <[^>]*> 0411ffff 	bal	0000003c <x>
14 [ 	]*3c: R_MIPS_PC16	g1
15 0+0040 <[^>]*> 00000000 	nop
16 0+0044 <[^>]*> 0411ffff 	bal	00000044 <x\+0x8>
17 [ 	]*44: R_MIPS_PC16	g2
18 0+0048 <[^>]*> 00000000 	nop
19 0+004c <[^>]*> 0411ffff 	bal	0000004c <x\+0x10>
20 [ 	]*4c: R_MIPS_PC16	g3
21 0+0050 <[^>]*> 00000000 	nop
22 0+0054 <[^>]*> 0411ffff 	bal	00000054 <x\+0x18>
23 [ 	]*54: R_MIPS_PC16	g4
24 0+0058 <[^>]*> 00000000 	nop
25 0+005c <[^>]*> 0411ffff 	bal	0000005c <x\+0x20>
26 [ 	]*5c: R_MIPS_PC16	g5
27 0+0060 <[^>]*> 00000000 	nop
28 0+0064 <[^>]*> 0411ffff 	bal	00000064 <x\+0x28>
29 [ 	]*64: R_MIPS_PC16	g6
30 0+0068 <[^>]*> 00000000 	nop
31 	\.\.\.
32 	\.\.\.
33 	\.\.\.
34 0+00a8 <[^>]*> 1000ffff 	b	000000a8 <g6>
35 [ 	]*a8: R_MIPS_PC16	x1
36 0+00ac <[^>]*> 00000000 	nop
37 0+00b0 <[^>]*> 1000ffff 	b	000000b0 <g6\+0x8>
38 [ 	]*b0: R_MIPS_PC16	x2
39 0+00b4 <[^>]*> 00000000 	nop
40 0+00b8 <[^>]*> 1000ffff 	b	000000b8 <g6\+0x10>
41 [ 	]*b8: R_MIPS_PC16	\.data
42 0+00bc <[^>]*> 00000000 	nop
43 	\.\.\.
44