projects
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Re: PR28827, assertion building LLVM 9 on powerpc64le-linux-gnu
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-csky
/
tls-gd-v1.s
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