OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-sparc/] [gotop32.s] - Diff between revs 38 and 156

Only display areas with differences | Details | Blame | View Log

Rev 38 Rev 156
        .data
        .data
        .align  4096
        .align  4096
        .globl  sym
        .globl  sym
sym:    .word   0x12345678
sym:    .word   0x12345678
 
 
        .text
        .text
        .align  4096
        .align  4096
.LLGETPC0:
.LLGETPC0:
        retl
        retl
        add     %o7, %l7, %l7
        add     %o7, %l7, %l7
 
 
        .globl  foo
        .globl  foo
        .type   foo,#function
        .type   foo,#function
        .proc   04
        .proc   04
foo:
foo:
        save    %sp, -104, %sp
        save    %sp, -104, %sp
        sethi   %hi(_GLOBAL_OFFSET_TABLE_-4), %l7
        sethi   %hi(_GLOBAL_OFFSET_TABLE_-4), %l7
        call    .LLGETPC0
        call    .LLGETPC0
        add     %l7, %lo(_GLOBAL_OFFSET_TABLE_+4), %l7
        add     %l7, %lo(_GLOBAL_OFFSET_TABLE_+4), %l7
        nop
        nop
        sethi   %gdop_hix22(sym), %l1
        sethi   %gdop_hix22(sym), %l1
        nop
        nop
        xor     %l1, %gdop_lox10(sym), %l1
        xor     %l1, %gdop_lox10(sym), %l1
        nop
        nop
        ld      [%l7 + %l1], %i0, %gdop(sym)
        ld      [%l7 + %l1], %i0, %gdop(sym)
        nop
        nop
        ret
        ret
        restore
        restore
 
 

powered by: WebSVN 2.1.0

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