1 .text 2 .globl main 3 .type main, @function 4main: 5 subq $8, %rsp 6 movq bar_alias(%rip), %rdi 7 call foo@PLT 8 movq ptr(%rip), %rax 9 movq (%rax), %rdi 10 call foo@PLT 11 xorl %eax, %eax 12 addq $8, %rsp 13 ret 14 .size main, .-main 15 .globl ptr 16 .section .data.rel,"aw",@progbits 17 .align 8 18 .type ptr, @object 19 .size ptr, 8 20ptr: 21 .quad bar_alias 22 .section .note.GNU-stack,"",@progbits 23