1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
.text .globl main .type main,@function main: pushq %rax movslq bar(%rip), %rax leaq bar(%rip), %rdi addq %rax, %rdi callq foo xorl %eax, %eax popq %rcx retq .data .p2align 2 bar: .long test - . .section .note.GNU-stack,"",@progbits