1 .protected foo 2 .globl foo 3 .data 4 .align 4 5 .type foo, @object 6 .size foo, 4 7 foo: 8 .long 1 9 .text 10 .globl bar 11 .type bar, @function 12 bar: 13 movl foo(%rip), %eax 14 ret 15 .size bar, .-bar 16