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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-sparc/] [gotop64.s] - Blame information for rev 139

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

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

powered by: WebSVN 2.1.0

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