summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/lif-xgot.d
blob: 7b86e2b2a3469d9210264f2abbf4e8653534eaa3 (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
#objdump: -dr --prefix-addresses -mmips:3000
#name: MIPS lifloat-xgot
#as: -mips1 -mcpu=r3000 -KPIC -xgot -EB --defsym XGOT=1
#source: lifloat.s

# Test the li.d and li.s macros with -KPIC -xgot.

.*: +file format .*mips.*

Disassembly of section .text:
0+0000 <[^>]*> lw	\$at,0\(\$gp\)
[ 	]*0: R_MIPS_GOT16	.rodata
0+0004 <[^>]*> nop
0+0008 <[^>]*> lw	\$a0,0\(\$at\)
[ 	]*8: R_MIPS_LO16	.rodata
0+000c <[^>]*> lw	\$a1,4\(\$at\)
[ 	]*c: R_MIPS_LO16	.rodata
0+0010 <[^>]*> lw	\$at,0\(\$gp\)
[ 	]*10: R_MIPS_GOT16	.rodata
0+0014 <[^>]*> nop
0+0018 <[^>]*> lwc1	\$f5,8\(\$at\)
[ 	]*18: R_MIPS_LO16	.rodata
0+001c <[^>]*> lwc1	\$f4,12\(\$at\)
[ 	]*1c: R_MIPS_LO16	.rodata
0+0020 <[^>]*> lui	\$a0,0x3f8f
0+0024 <[^>]*> ori	\$a0,\$a0,0xcd36
0+0028 <[^>]*> lui	\$at,0x3f8f
0+002c <[^>]*> ori	\$at,\$at,0xcd36
0+0030 <[^>]*> mtc1	\$at,\$f4
	...