PR ld/11384
[binutils/dougsmingw.git] / gas / testsuite / gas / mips / elf-rel9-mips16.s
bloba4f54eddd3d59a0005afc1c41323aa4129d266c7
1 .set mips16
2 .ent foo
3 foo:
4 move $2,$28
5 lw $4,%got(l1)($2)
6 addiu $4,%lo(l1)
8 lw $4,%got(l1 + 16)($2)
9 addiu $4,%lo(l1 + 16)
11 lw $4,%got(l1 + 0x7fec)($2)
12 addiu $4,%lo(l1 + 0x7fec)
14 lw $4,%got(l1 + 0x7ff0)($2)
15 addiu $4,%lo(l1 + 0x7ff0)
17 lw $4,%got(l1 + 0xffec)($2)
18 addiu $4,%lo(l1 + 0xffec)
20 lw $4,%got(l1 + 0xfff0)($2)
21 addiu $4,%lo(l1 + 0xfff0)
23 lw $4,%got(l1 + 0x18000)($2)
24 addiu $4,%lo(l1 + 0x18000)
26 lw $4,%got(l2)($2)
27 addiu $4,%lo(l2)
29 lw $4,%got(l2 + 0xfff)($2)
30 addiu $4,%lo(l2 + 0xfff)
32 lw $4,%got(l2 + 0x1000)($2)
33 addiu $4,%lo(l2 + 0x1000)
35 lw $4,%got(l2 + 0x12345)($2)
36 addiu $4,%lo(l2 + 0x12345)
38 lw $4,%gprel(l3)($2)
39 lw $4,%gprel(l3 + 4)($2)
40 lw $4,%gprel(l4)($2)
41 lw $4,%gprel(l4 + 4)($2)
42 lw $4,%gprel(l5)($2)
43 lw $4,%gprel(l5 + 8)($2)
44 lw $4,%gprel(l5 + 12)($2)
46 .align 6
47 .end foo
49 .data
50 .word 1,2,3,4
51 l1: .word 4,5
52 .space 0x1f000 - 24
53 l2: .word 7,8
55 .sdata
56 l3: .word 1
57 l4: .word 2
58 .word 3
59 l5: .word 4