1 .global var 2 .global dummy 3 .text 4test: 5 ldr x1, .Lgot 6 adr x2, .Lgot 7 add x1, x1, x2 8 9 movk x0, #:tlsgd_g0_nc:var 10 movk x0, #:tlsgd_g0_nc:dummy 11 add x0, x1, x0 12 bl __tls_get_addr 13 nop 14 15.Lgot: .xword _GLOBAL_OFFSET_TABLE_ - . 16