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