1 .text 2 .globl _start 3 _start: 4 mov foo@GOTTPOFF(%rip), %eax 5 add foo@GOTTPOFF(%rip), %eax 6 mov foo@GOTTPOFF(%rip), %r8d 7 add foo@GOTTPOFF(%rip), %r8d 8 mov foo@GOTTPOFF(%rip), %r12d 9 add foo@GOTTPOFF(%rip), %r12d 10 .globl foo 11 .section .tdata,"awT",@progbits 12 .align 4 13 .type foo, @object 14 .size foo, 4 15 foo: 16 .long 100 17