.text .globl foo .type foo, @function foo: ret .size foo, .-foo .globl _start .type _start, @function _start: movl foo@GOT(%ecx), %eax movl bar@GOT(%ecx), %eax .size _start, .-_start .comm pad,4,4 .comm bar,4,4