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-gd.s
blob
8fe0e37d8d60600f2433a06fb6f802b788071d3a
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 a2
,
.LTLS0
13
lrw a3
,
__tls_get_addr@PLT
14
.LTLS0:
15
lrw a0
,
var@TLSGD32
16
ldr.w a3
, (
gb
,
a3
<<
0
)
17
addu a0
,
a0
,
a2
18
jsr a3
19
ld.w a0
, (
a0
,
0
)
20
pop
lr
,
gb