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
34 .frame $sp, 16, $26, 0
41 lda $
16, sG1
($gp
) !tlsgd
!1
42 ldq $
27, __tls_get_addr
($gp
) !literal
!1
43 jsr $
26, ($
27), __tls_get_addr
!lituse_tlsgd
!1
46 /* GD against local symbol */
47 lda $
16, sl2
($gp
) !tlsgd
!2
48 ldq $
27, __tls_get_addr
($gp
) !literal
!2
49 jsr $
26, ($
27), __tls_get_addr
!lituse_tlsgd
!2
53 lda $
16, sl1
($gp
) !tlsldm
!3
54 ldq $
27, __tls_get_addr
($gp
) !literal
!3
55 jsr $
26, ($
27), __tls_get_addr
!lituse_tlsldm
!3
57 lda $
1, sl1+
1($
0) !dtprel
59 /* LD with 4 variables */
60 lda $
16, sh1
($gp
) !tlsldm
!4
61 ldq $
27, __tls_get_addr
($gp
) !literal
!4
62 jsr $
26, ($
27), __tls_get_addr
!lituse_tlsldm
!4
64 lda $
1, sh1
($
0) !dtprel
65 lda $
1, sh2+
2($
0) !dtprel
66 ldah $
1, sh3+
3($
0) !dtprelhi
67 lda $
1, sh3+
3($
1) !dtprello
68 ldq $
1, sh4+
10($gp
) !gotdtprel