1 .text 2 .globl foo 3 .type foo, @gnu_indirect_function 4 foo: 5 ret 6 .text 7 .type bar, @gnu_indirect_function 8 bar: 9 ret 10 .globl _start 11 .type _start, @function 12 _start: 13 call *foo@GOTPCREL(%rip) 14 jmp *bar@GOTPCREL(%rip) 15 movq $0, bar@GOTPCREL(%rip) 16 cmpq $0, foo@GOTPCREL(%rip) 17 cmpq foo@GOTPCREL(%rip), %rcx 18 cmpq bar@GOTPCREL(%rip), %rcx 19