daily update
[binutils.git] / ld / testsuite / ld-mips-elf / got-page-1.s
blob976a5227d2c862cc615557ec0e95349d42ba42bb
1 # See below.
2 lw $4,%got(foo+0x120000)($gp)
3 addiu $4,$4,%lo(foo+0x120000)
5 # 2 pages
6 lw $4,%got(foo-0x8000)($gp)
7 addiu $4,$4,%lo(foo-0x8000)
8 lw $4,%got(foo+0x800)($gp)
9 addiu $4,$4,%lo(foo+0x8000)
11 # 2 pages
12 lw $4,%got(foo-0x1000000)($gp)
13 addiu $4,$4,%lo(foo-0x1000000)
14 lw $4,%got(foo-0xffffff)($gp)
15 addiu $4,$4,%lo(foo-0xffffff)
17 # 1 page
18 lw $4,%got(foo+0x120000)($gp)
19 addiu $4,$4,%lo(foo+0x120000)
21 # 5 pages
22 lw $4,%got(bar)($gp)
23 addiu $4,$4,%lo(bar)
24 lw $4,%got(bar+0x20000)($gp)
25 addiu $4,$4,%lo(bar+0x20000)
26 lw $4,%got(bar+0x40000)($gp)
27 addiu $4,$4,%lo(bar+0x40000)
28 lw $4,%got(bar+0x30000)($gp)
29 addiu $4,$4,%lo(bar+0x30000)
30 lw $4,%got(bar+0x10000)($gp)
31 addiu $4,$4,%lo(bar+0x10000)
32 lw $4,%got(bar+0x38000)($gp)
33 addiu $4,$4,%lo(bar+0x38000)
34 lw $4,%got(bar+0x14000)($gp)
35 addiu $4,$4,%lo(bar+0x14000)
36 lw $4,%got(bar+0x2c000)($gp)
37 addiu $4,$4,%lo(bar+0x2c000)
38 lw $4,%got(bar+0x02000)($gp)
39 addiu $4,$4,%lo(bar+0x02000)
41 .section .bss.foo,"aw",@nobits
42 .fill 0x800000
43 foo: .fill 0x800000
45 .section .bss.bar,"aw",@nobits
46 bar: .fill 0xc00000