1 .section ".tdata", "awT", @progbits
2 .global sg1, sg2, sg3, sg4, sg5, sg6, sg7, sg8
3 .global sh1, sh2, sh3, sh4, sh5, sh6, sh7, sh8
4 .hidden sh1, sh2, sh3, sh4, sh5, sh6, sh7, sh8
33 .type _start, @function
40 callx8.tls a8
, sg1@tlscall
42 /* GD -> IE because variable is referenced through IE too */
45 callx8.tls a8
, sg2@tlscall
47 /* GD against local variable */
50 callx8.tls a8
, sl1@tlscall
52 /* GD -> IE against local variable referenced through IE too */
55 callx8.tls a8
, sl2@tlscall
57 /* GD against hidden and local variable */
60 callx8.tls a8
, sh1@tlscall
62 /* GD -> IE against hidden and local variable referenced through
66 callx8.tls a8
, sh2@tlscall
68 /* GD against hidden but not local variable */
71 callx8.tls a8
, sH1@tlscall
73 /* GD -> IE against hidden but not local variable referenced through
77 callx8.tls a8
, sH2@tlscall
80 movi a8
, _TLS_MODULE_BASE_@tlsfunc
81 movi a10
, _TLS_MODULE_BASE_@tlsarg
82 callx8.tls a8
, _TLS_MODULE_BASE_@tlscall
85 movi a13
, 2+sl2@dtpoff
88 /* LD against hidden and local variables */
91 movi a13
, sh2@dtpoff+
3
94 /* LD against hidden but not local variables */
97 movi a13
, sH2@dtpoff+
1
100 /* IE against global var */
105 /* IE against local var */
110 /* IE against hidden and local var */
115 /* IE against hidden but not local var */