mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
f243e458cd
* testsuite/ld-powerpc/tlsget.d, * testsuite/ld-powerpc/tlsget.s, * testsuite/ld-powerpc/tlsget.wf, * testsuite/ld-powerpc/tlsget2.d. * testsuite/ld-powerpc/tlsget2.wf: New testcases. * testsuite/ld-powerpc/powerpc.exp: Run them.
25 lines
315 B
ArmAsm
25 lines
315 B
ArmAsm
.text
|
|
.abiversion 2
|
|
.globl _start
|
|
_start:
|
|
.cfi_startproc
|
|
pla 3,gd@got@tlsgd@pcrel
|
|
bl __tls_get_addr@notoc(gd@tlsgd)
|
|
|
|
addis 3,2,gd@got@tlsgd@ha
|
|
addi 3,3,gd@got@tlsgd@l
|
|
bl __tls_get_addr(gd@tlsgd)
|
|
nop
|
|
|
|
bl fun@notoc
|
|
|
|
bl fun
|
|
nop
|
|
|
|
.type fun,@gnu_indirect_function
|
|
fun:
|
|
pla 3,1f@pcrel
|
|
1:
|
|
blr
|
|
.cfi_endproc
|