projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bfd/
[external/binutils.git]
/
ld
/
testsuite
/
ld-sparc
/
gotop32.s
1
.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, -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