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
37 /* GD -> IE because variable is not defined in executable */
40 callx8.tls a8
, sG1@tlscall
42 /* GD -> IE because variable is not defined in executable where
43 the variable is referenced through IE too */
46 callx8.tls a8
, sG2@tlscall
48 /* GD -> LE with global variable defined in executable */
51 callx8.tls a8
, sg1@tlscall
53 /* GD -> LE with local variable defined in executable */
56 callx8.tls a8
, sl1@tlscall
58 /* GD -> LE with hidden variable defined in executable */
61 callx8.tls a8
, sh1@tlscall
64 movi a8
, _TLS_MODULE_BASE_@tlsfunc
65 movi a10
, _TLS_MODULE_BASE_@tlsarg
66 callx8.tls a8
, _TLS_MODULE_BASE_@tlscall
67 movi a12
, 1+sl1@dtpoff
69 movi a13
, sl2@dtpoff+
2
72 /* LD -> LE against hidden variables */
75 movi a13
, 3+sh2@dtpoff
78 /* IE against global var */
83 /* IE -> LE against global var defined in exec */
88 /* IE -> LE against local var */
93 /* IE -> LE against hidden var */