1 .text 2 .globl _start 3 _start: 4 leal foo@TLSGD(%ebx), %eax 5 call ___tls_get_addr 6 .section .tdata,"awT",@progbits 7 .align 4 8 .type foo, @object 9 .size foo, 4 10 foo: 11 .long 100 12