1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
.text .globl fct .type fct, @gnu_indirect_function .set fct,resolve .hidden int_fct .globl int_fct .set int_fct,fct .p2align 4,,15 .type resolve, @function resolve: call ifunc@PLT .size resolve, .-resolve .globl g .type g, @function g: jmp int_fct@PLT .size g, .-g