Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-powerpc / tlsmark.s
blob1bda55c89aec4c0d4b944b18bb52a27fa6e04e48
1 .section ".tdata","awT",@progbits
2 x: .int 1
3 y: .int 2
5 .section ".toc","aw",@progbits
6 .p2align 3
7 .LC0:
8 .quad y@dtpmod
9 .quad y@dtprel
10 .LC1:
11 .quad y@dtpmod
12 .quad 0
14 .text
15 .global _start
16 _start:
17 b .L2
19 .L1:
20 bl __tls_get_addr(x@tlsgd)
21 nop
22 ld 4,0(3)
23 addi 3,2,x@got@tlsld
24 b .L3
25 .L2:
26 addi 3,2,x@got@tlsgd
27 b .L1
28 .L3:
29 bl __tls_get_addr(x@tlsld)
30 nop
31 ld 4,x@dtprel(3)
33 addi 3,2,.LC0@toc
34 b .L5
35 .L4:
36 addi 3,2,.LC1@toc
37 b .L6
38 .L5:
39 bl .__tls_get_addr(.LC0@tlsgd)
40 nop
41 ld 5,0(3)
42 b .L4
43 .L6:
44 bl .__tls_get_addr(.LC1@tlsld)
45 nop
46 ld 5,y@dtprel(3)