OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-mips-elf/] [got-page-2.s] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
        # See below.
2
        lw      $4,%got_page(foo+0x120000)($gp)
3
        addiu   $4,$4,%got_ofst(foo+0x120000)
4
 
5
        # 2 pages
6
        lw      $4,%got_page(foo-0x8000)($gp)
7
        addiu   $4,$4,%got_ofst(foo-0x8000)
8
        lw      $4,%got_page(foo+0x800)($gp)
9
        addiu   $4,$4,%got_ofst(foo+0x8000)
10
 
11
        # 2 pages
12
        lw      $4,%got_page(foo-0x1000000)($gp)
13
        addiu   $4,$4,%got_ofst(foo-0x1000000)
14
        lw      $4,%got_page(foo-0xffffff)($gp)
15
        addiu   $4,$4,%got_ofst(foo-0xffffff)
16
 
17
        # 1 page
18
        lw      $4,%got_page(foo+0x120000)($gp)
19
        addiu   $4,$4,%got_ofst(foo+0x120000)
20
 
21
        # 5 pages
22
        lw      $4,%got_page(bar)($gp)
23
        addiu   $4,$4,%got_ofst(bar)
24
        lw      $4,%got_page(bar+0x20000)($gp)
25
        addiu   $4,$4,%got_ofst(bar+0x20000)
26
        lw      $4,%got_page(bar+0x40000)($gp)
27
        addiu   $4,$4,%got_ofst(bar+0x40000)
28
        lw      $4,%got_page(bar+0x30000)($gp)
29
        addiu   $4,$4,%got_ofst(bar+0x30000)
30
        lw      $4,%got_page(bar+0x10000)($gp)
31
        addiu   $4,$4,%got_ofst(bar+0x10000)
32
        lw      $4,%got_page(bar+0x38000)($gp)
33
        addiu   $4,$4,%got_ofst(bar+0x38000)
34
        lw      $4,%got_page(bar+0x14000)($gp)
35
        addiu   $4,$4,%got_ofst(bar+0x14000)
36
        lw      $4,%got_page(bar+0x2c000)($gp)
37
        addiu   $4,$4,%got_ofst(bar+0x2c000)
38
        lw      $4,%got_page(bar+0x02000)($gp)
39
        addiu   $4,$4,%got_ofst(bar+0x02000)
40
 
41
        .section .bss.foo,"aw",@nobits
42
        .fill   0x800000
43
foo:    .fill   0x800000
44
 
45
        .section .bss.bar,"aw",@nobits
46
bar:    .fill   0xc00000

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.