1 .text 2 .type start,"function" 3 .global start 4start: 5 .type _start,"function" 6 .global _start 7_start: 8 .type __start,"function" 9 .global __start 10__start: 11 .type __start,"function" 12 call *foo@GOTPCREL(%rip) 13 jmp *foo@GOTPCREL(%rip) 14 add foo@GOTPCREL(%rip), %rax 15 movq foo@GOTPCREL(%rip), %rax 16 test %rax, foo@GOTPCREL(%rip) 17 movq bar@GOTPCREL(%rip), %rax 18 .type foo, %gnu_indirect_function 19 .globl foo 20foo: 21 ret 22 .type bar, %function 23bar: 24 ret 25