1 .text 2 .globl foo 3 .type foo, @gnu_indirect_function 4foo: 5 ret 6 .text 7 .type bar, @gnu_indirect_function 8bar: 9 ret 10 .globl _start 11 .type _start, @function 12_start: 13 call *foo@GOT 14 jmp *bar@GOT 15 movl $0, bar@GOT 16 cmpl $0, foo@GOT 17 movl $bar@GOT, %ecx 18