testsuite: adapt to new --debug command line option
[binutils-gdb.git] / ld / testsuite / ld-powerpc / tlsget.s
blobac0d03a1cc13b596a89eae8644ffc3a8d81bbe75
1 .text
2 .abiversion 2
3 .globl _start
4 _start:
5 .cfi_startproc
6 pla 3,gd@got@tlsgd@pcrel
7 bl __tls_get_addr@notoc(gd@tlsgd)
9 addis 3,2,gd@got@tlsgd@ha
10 addi 3,3,gd@got@tlsgd@l
11 bl __tls_get_addr(gd@tlsgd)
12 nop
14 bl fun@notoc
16 bl fun
17 nop
19 .type fun,@gnu_indirect_function
20 fun:
21 pla 3,1f@pcrel
23 blr
24 .cfi_endproc