2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
[deliverable/binutils-gdb.git] / ld / testsuite / ld-sparc / gotop32.s
CommitLineData
739f7f82
DM
1 .data
2 .align 4096
3 .globl sym
4sym: .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
15foo:
16 save %sp, -104, %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 ld [%l7 + %l1], %i0, %gdop(sym)
26 nop
27 ret
28 restore
This page took 0.093009 seconds and 4 git commands to generate.