repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updated Malay translation for the bfd sub-directory
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-csky
/
tls-ld.s
blob
3ad06ce332782262d67f3c41ffc81474efc3d6f0
1
.text
2
.global __tls_get_addr
3
.align 2
4
.global foo
5
.type foo, @function
6
foo
:
7
push
lr
,
gb
8
lrw t1
,
.L2@GOTPC
9
grs gb
,
.L2
10
.L2:
11
addu gb
,
gb
,
t1
12
grs a3
,
.LTLS0
13
.LTLS0:
14
lrw a0
,
.LANCHOR0@TLSLDM32
15
addu a0
,
a0
,
a3
16
lrs.w a3
, [
__tls_get_addr@PLT
]
17
jsr a3
18
lrw a3
,
.LANCHOR0@TLSLDO32
19
addu a0
,
a0
,
a3
20
pop
lr
,
gb
21
.size foo, .-foo
22
.section .tbss,
"awT"
,@nobits
23
.align 2
24
.set .LANCHOR0,. + 0
25
.type var, @object
26
.size var, 4
27
var
:
28
.fill 4, 1