1 .section ".tdata", "awT", @progbits
2 .globl sg1, sg2, sg3, sg4, sg5, sg6, sg7, sg8
3 .globl sh1, sh2, sh3, sh4, sh5, sh6, sh7, sh8
4 .hidden sh1, sh2, sh3, sh4, sh5, sh6, sh7, sh8
33 .frame $sp, 16, $26, 0
44 lda $
16, sg1
($gp
) !tlsgd
!1
45 ldq $
27, __tls_get_addr
($gp
) !literal
!1
46 jsr $
26, ($
27), __tls_get_addr
!lituse_tlsgd
!1
49 /* GD against hidden symbol */
50 lda $
16, sh2
($gp
) !tlsgd
!2
51 ldq $
27, __tls_get_addr
($gp
) !literal
!2
52 jsr $
26, ($
27), __tls_get_addr
!lituse_tlsgd
!2
56 lda $
16, sl1
($gp
) !tlsldm
!3
57 ldq $
27, __tls_get_addr
($gp
) !literal
!3
58 jsr $
26, ($
27), __tls_get_addr
!lituse_tlsldm
!3
60 lda $
1, sl1+
1($
0) !dtprel
62 /* LD with 4 variables */
63 lda $
16, sh1
($gp
) !tlsldm
!4
64 ldq $
27, __tls_get_addr
($gp
) !literal
!4
65 jsr $
26, ($
27), __tls_get_addr
!lituse_tlsldm
!4
67 lda $
1, sh1
($
0) !dtprel
68 lda $
1, sH1+
2($
0) !dtprel
69 ldah $
1, sh5+
3($
0) !dtprelhi
70 lda $
1, sh5+
3($
1) !dtprello
71 ldq $
1, sH5+
1($gp
) !gotdtprel
74 /* IE against global */
75 ldq $
1, sg2
($gp
) !gottprel
78 /* IE against local and hidden */
79 ldq $
1, sl2
($gp
) !gottprel
80 ldq $
2, sh2
($gp
) !gottprel