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-v1.s
blob
617aac0899d8b6fe1629a465954034f519e98017
1
.global __tls_get_addr
2
.text
3
.align 2
4
.global foo
5
.type foo, @function
6
foo
:
7
subi
sp
,
sp
,
8
8
st.w gb
, (
sp
)
9
st.w
r15
, (
sp
,
4
)
10
bsr
.L2
11
.L2:
12
lrw gb
,
.L2@GOTPC
13
addu gb
,
gb
,
r15
14
lrw
r7
,
__tls_get_addr@PLT
15
addu
r7
,
r7
,
gb
16
ld.w
r7
, (
r7
)
17
bsr
.LTLS0
18
.LTLS0:
19
lrw
r2
,
var@TLSGD32
20
addu
r2
,
r15
21
jsr
r7
22
ld.w
r2
, (
r2
)
23
ld.w
r15
, (
sp
,
4
)
24
ld.w gb
, (
sp
)
25
addi
sp
,
sp
,
8
26
jmp
r15