summaryrefslogtreecommitdiffstats
path: root/gas/testsuite/gas/mips/branch-misc-2pic.d
blob: bc604311a995b1edc9fb3a3e570eafc48f5265dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#skip: mips-*-ecoff
#objdump: -dr --prefix-addresses --show-raw-insn
#name: MIPS branch-misc-2pic
#source: branch-misc-2.s
#as: -32 -call_shared

# Test the backward branches to globals symbols in current file.

.*: +file format .*mips.*

Disassembly of section .text:
	\.\.\.
	\.\.\.
	\.\.\.
0+003c <[^>]*> 0411ffff 	bal	0000003c <x>
[ 	]*3c: R_MIPS_PC16	g1
0+0040 <[^>]*> 00000000 	nop
0+0044 <[^>]*> 0411ffff 	bal	00000044 <x\+0x8>
[ 	]*44: R_MIPS_PC16	g2
0+0048 <[^>]*> 00000000 	nop
0+004c <[^>]*> 0411ffff 	bal	0000004c <x\+0x10>
[ 	]*4c: R_MIPS_PC16	g3
0+0050 <[^>]*> 00000000 	nop
0+0054 <[^>]*> 0411ffff 	bal	00000054 <x\+0x18>
[ 	]*54: R_MIPS_PC16	g4
0+0058 <[^>]*> 00000000 	nop
0+005c <[^>]*> 0411ffff 	bal	0000005c <x\+0x20>
[ 	]*5c: R_MIPS_PC16	g5
0+0060 <[^>]*> 00000000 	nop
0+0064 <[^>]*> 0411ffff 	bal	00000064 <x\+0x28>
[ 	]*64: R_MIPS_PC16	g6
0+0068 <[^>]*> 00000000 	nop
	\.\.\.
	\.\.\.
	\.\.\.
0+00a8 <[^>]*> 1000ffff 	b	000000a8 <g6>
[ 	]*a8: R_MIPS_PC16	x1
0+00ac <[^>]*> 00000000 	nop
0+00b0 <[^>]*> 1000ffff 	b	000000b0 <g6\+0x8>
[ 	]*b0: R_MIPS_PC16	x2
0+00b4 <[^>]*> 00000000 	nop
0+00b8 <[^>]*> 1000ffff 	b	000000b8 <g6\+0x10>
[ 	]*b8: R_MIPS_PC16	\.Ldata
0+00bc <[^>]*> 00000000 	nop
	\.\.\.
OpenPOWER on IntegriCloud