1 .text 2 .globl bar 3 .type bar, @function 4 bar: 5 leaq foo(%rip), %rax 6 ret 7 .size bar, .-bar 8 .weak foo 9 .hidden foo 10