1 #objdump: -dr --prefix-addresses -mmips:3000
2 #name: MIPS lifloat-xgot
3 #as: -mips1 -mcpu=r3000 -KPIC -xgot -EB --defsym XGOT=1
6 # Test the li.d and li.s macros with -KPIC -xgot.
8 .*: +file format .*mips.*
10 Disassembly of section .text:
11 0+0000 <[^>]*> lw at,0\(gp\)
12 [ ]*0: R_MIPS_GOT16 .rodata
14 0+0008 <[^>]*> lw a0,0\(at\)
15 [ ]*8: R_MIPS_LO16 .rodata
16 0+000c <[^>]*> lw a1,4\(at\)
17 [ ]*c: R_MIPS_LO16 .rodata
18 0+0010 <[^>]*> lw at,0\(gp\)
19 [ ]*10: R_MIPS_GOT16 .rodata
21 0+0018 <[^>]*> lwc1 \$f5,8\(at\)
22 [ ]*18: R_MIPS_LO16 .rodata
23 0+001c <[^>]*> lwc1 \$f4,12\(at\)
24 [ ]*1c: R_MIPS_LO16 .rodata
25 0+0020 <[^>]*> lui a0,0x3f8f
26 0+0024 <[^>]*> ori a0,a0,0xcd36
27 0+0028 <[^>]*> lui at,0x3f8f
28 0+002c <[^>]*> ori at,at,0xcd36
29 0+0030 <[^>]*> mtc1 at,\$f4