1 .text 2 .type foo, @function 3 .global foo 4foo: 5 movl ifunc@GOTPCREL(%rip), %eax 6 ret 7 .type ifunc, @gnu_indirect_function 8 .globl ifunc 9ifunc: 10 ret 11