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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-sparc/] [gotop64.s] - Blame information for rev 847

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

Line No. Rev Author Line
1 205 julius
        .data
2
        .align  4096
3
        .globl  sym
4
sym:    .word   0x12345678
5
 
6
        .text
7
        .align  4096
8
.LLGETPC0:
9
        retl
10
        add     %o7, %l7, %l7
11
 
12
        .globl  foo
13
        .type   foo,#function
14
        .proc   04
15
foo:
16
        save    %sp, -160, %sp
17
        sethi   %hi(_GLOBAL_OFFSET_TABLE_-4), %l7
18
        call    .LLGETPC0
19
        add     %l7, %lo(_GLOBAL_OFFSET_TABLE_+4), %l7
20
        nop
21
        sethi   %gdop_hix22(sym), %l1
22
        nop
23
        xor     %l1, %gdop_lox10(sym), %l1
24
        nop
25
        ldx     [%l7 + %l1], %i0, %gdop(sym)
26
        nop
27
        ret
28
        restore

powered by: WebSVN 2.1.0

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