1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
.text .globl _start .type _start, @function _start: lea foo@TLSDESC(%rip), %eax call *foo@TLSCALL(%eax) movl %fs:0, %ecx addl foo@gottpoff(%rip), %ecx .section .tdata,"awT",@progbits .align 4 .type foo, @object .size foo, 4 foo: .long 30 .section .note.GNU-stack,"",@progbits