1 .text 2 .globl _start 3 _start: 4 leaq foo@TLSLD(%rip), %rdi 5 call __tls_get_addr 6 .globl foo 7 .section .tdata,"awT",@progbits 8 .align 4 9 .type foo, @object 10 .size foo, 4 11 foo: 12 .long 100 13