1 .global tlsievar 2 .section .tbss,"awT",%nobits 3 .align 2 4 .type tlsievar, %object 5 .size tlsievar, 4 6 tlsievar: 7 .zero 4 8 9 .align 2 10 .type l_tlsievar, %object 11 .size l_tlsievar, 4 12 l_tlsievar: 13 .zero 4 14 15 .text 16 _test_tls_IE: 17 18 // R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 tlsievar 19 adrp x0, :gottprel:tlsievar 20 // R_AARCH64_TLSIE_GOTTPREL_LO12_NC tlsievar 21 ldr x0, [x0, :gottprel_lo12:tlsievar] 22 23 _test_tls_IE_local: 24 25 // R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 l_tlsievar 26 adrp x0, :gottprel:l_tlsievar 27 // R_AARCH64_TLSIE_GOTTPREL_LO12_NC l_tlsievar 28 ldr x0, [x0, :gottprel_lo12:l_tlsievar] 29 30