1 .global tlslevar 2 .section .tbss,"awT",%nobits 3 .align 2 4 .type tlslevar, %object 5 .size tlslevar, 4 6 tlslevar: 7 .zero 4 8 9 .align 2 10 .type l_tlslevar, %object 11 .size l_tlslevar, 4 12 l_tlslevar: 13 .zero 4 14 15 .text 16 l_test_tls_le: 17 18 // R_AARCH64_TLSLE_ADD_TPREL_LO12 tlslevar 19 add x0, x1, :tprel_lo12:tlslevar 20 // R_AARCH64_TLSLE_ADD_TPREL_HI12 tlslevar 21 add x0, x1, :tprel_hi12:tlslevar 22 // R_AARCH64_TLSLE_ADD_TPREL_HI12 tlslevar 23 add x0, x1, :tprel_hi12:tlslevar, lsl #12 24 // R_AARCH64_TLSLE_ADD_TPREL_LO12_NC tlslevar 25 add x0, x1, :tprel_lo12_nc:tlslevar 26 27 l_test_tls_le_local: 28 29 // R_AARCH64_TLSLE_ADD_TPREL_LO12 l_tlslevar 30 add x0, x1, :tprel_lo12:l_tlslevar 31 // R_AARCH64_TLSLE_ADD_TPREL_HI12 l_tlslevar 32 add x0, x1, :tprel_hi12:l_tlslevar 33 // R_AARCH64_TLSLE_ADD_TPREL_HI12 l_tlslevar 34 add x0, x1, :tprel_hi12:l_tlslevar, lsl #12 35 // R_AARCH64_TLSLE_ADD_TPREL_LO12_NC l_tlslevar 36 add x0, x1, :tprel_lo12_nc:l_tlslevar 37