1 .global var 2 .section .tdata,"awT",%progbits 3var: 4 .word 2 5 6 .text 7test: 8 ldr x1, .Lgot 9 adr x2, .Lgot 10 add x18, x1, x2 11 12 movz x0, #:tlsdesc_off_g1:var 13 movk x0, #:tlsdesc_off_g0_nc:var 14 .tlsdescldr var 15 ldr x1, [x18, x0] 16 .tlsdescadd var 17 add x0, x18, x0 18 .tlsdesccall var 19 blr x1 20 21.Lgot: .xword _GLOBAL_OFFSET_TABLE_ - . 22