1 .global var 2 .section .tdata,"awT",%progbits 3var: 4 .word 2 5 .text 6 adrp x0, :tlsgd:var 7 add x0, x0, :tlsgd_lo12:var 8 bl __tls_get_addr 9 nop 10 ldr w0, [x0] 11