Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-powerpc / tlsldopt.s
blob925d8bf66e47eee1e14cad15763a38d35bc650f6
1 .section ".opd","aw",@progbits
2 .p2align 3
3 .globl _start
4 _start:
5 .quad .L_start,.TOC.@tocbase,0
7 .text
8 .L_start:
9 addis 3,2,PrettyStackTraceHead@got@tlsld@ha
10 addi 29,3,PrettyStackTraceHead@got@tlsld@l
11 mr 3,29
12 bl __tls_get_addr(PrettyStackTraceHead@tlsld)
13 nop
14 addis 3,3,PrettyStackTraceHead@dtprel@ha
15 ld 3,PrettyStackTraceHead@dtprel@l(3)
16 nop
18 addi 29,2,PrettyStackTraceHead@got@tlsld
19 mr 3,29
20 bl __tls_get_addr(PrettyStackTraceHead@tlsld)
21 nop
22 ld 3,PrettyStackTraceHead@dtprel(3)
23 nop
24 nop
25 nop
27 addis 3,2,PrettyStackTraceHead@got@tlsgd@ha
28 addi 29,3,PrettyStackTraceHead@got@tlsgd@l
29 mr 3,29
30 bl __tls_get_addr(PrettyStackTraceHead@tlsgd)
31 nop
32 ld 3,0(3)
33 nop
34 nop
36 addi 29,2,PrettyStackTraceHead@got@tlsgd
37 mr 3,29
38 bl __tls_get_addr(PrettyStackTraceHead@tlsgd)
39 nop
40 ld 3,0(3)
41 nop
42 nop
43 nop
45 .section ".tbss","awT",@nobits
46 .align 3
47 PrettyStackTraceHead:
48 .space 8