1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: MIPS branch-misc-2pic-64
3 #source: branch-misc-2.s
4 #as: -64 -call_shared
5 
6 # Test the backward branches to globals symbols in current file.
7 
8 .*: +file format .*mips.*
9 
10 Disassembly of section .text:
11 	\.\.\.
12 	\.\.\.
13 	\.\.\.
14 0+003c <[^>]*> 04110000 	bal	0000000000000040 <x\+0x4>
15 [ 	]*3c: R_MIPS_PC16	g1-0x4
16 [ 	]*3c: R_MIPS_NONE	\*ABS\*-0x4
17 [ 	]*3c: R_MIPS_NONE	\*ABS\*-0x4
18 0+0040 <[^>]*> 00000000 	nop
19 0+0044 <[^>]*> 04110000 	bal	0000000000000048 <x\+0xc>
20 [ 	]*44: R_MIPS_PC16	g2-0x4
21 [ 	]*44: R_MIPS_NONE	\*ABS\*-0x4
22 [ 	]*44: R_MIPS_NONE	\*ABS\*-0x4
23 0+0048 <[^>]*> 00000000 	nop
24 0+004c <[^>]*> 04110000 	bal	0000000000000050 <x\+0x14>
25 [ 	]*4c: R_MIPS_PC16	g3-0x4
26 [ 	]*4c: R_MIPS_NONE	\*ABS\*-0x4
27 [ 	]*4c: R_MIPS_NONE	\*ABS\*-0x4
28 0+0050 <[^>]*> 00000000 	nop
29 0+0054 <[^>]*> 04110000 	bal	0000000000000058 <x\+0x1c>
30 [ 	]*54: R_MIPS_PC16	g4-0x4
31 [ 	]*54: R_MIPS_NONE	\*ABS\*-0x4
32 [ 	]*54: R_MIPS_NONE	\*ABS\*-0x4
33 0+0058 <[^>]*> 00000000 	nop
34 0+005c <[^>]*> 04110000 	bal	0000000000000060 <x\+0x24>
35 [ 	]*5c: R_MIPS_PC16	g5-0x4
36 [ 	]*5c: R_MIPS_NONE	\*ABS\*-0x4
37 [ 	]*5c: R_MIPS_NONE	\*ABS\*-0x4
38 0+0060 <[^>]*> 00000000 	nop
39 0+0064 <[^>]*> 04110000 	bal	0000000000000068 <x\+0x2c>
40 [ 	]*64: R_MIPS_PC16	g6-0x4
41 [ 	]*64: R_MIPS_NONE	\*ABS\*-0x4
42 [ 	]*64: R_MIPS_NONE	\*ABS\*-0x4
43 0+0068 <[^>]*> 00000000 	nop
44 	\.\.\.
45 	\.\.\.
46 	\.\.\.
47 0+00a8 <[^>]*> 10000000 	b	00000000000000ac <g6\+0x4>
48 [ 	]*a8: R_MIPS_PC16	x1-0x4
49 [ 	]*a8: R_MIPS_NONE	\*ABS\*-0x4
50 [ 	]*a8: R_MIPS_NONE	\*ABS\*-0x4
51 0+00ac <[^>]*> 00000000 	nop
52 0+00b0 <[^>]*> 10000000 	b	00000000000000b4 <g6\+0xc>
53 [ 	]*b0: R_MIPS_PC16	x2-0x4
54 [ 	]*b0: R_MIPS_NONE	\*ABS\*-0x4
55 [ 	]*b0: R_MIPS_NONE	\*ABS\*-0x4
56 0+00b4 <[^>]*> 00000000 	nop
57 0+00b8 <[^>]*> 10000000 	b	00000000000000bc <g6\+0x14>
58 [ 	]*b8: R_MIPS_PC16	\.data-0x4
59 [ 	]*b8: R_MIPS_NONE	\*ABS\*-0x4
60 [ 	]*b8: R_MIPS_NONE	\*ABS\*-0x4
61 0+00bc <[^>]*> 00000000 	nop
62 	\.\.\.
63