my_func()1static void my_func() {} 2 3 __attribute__((__used__)) resolve_func(void)4static void (*resolve_func(void))(void) { 5 return my_func; 6 } 7 8 void func_changed() __attribute__((ifunc("resolve_func"))); 9 10 void func_removed() __attribute__((ifunc("resolve_func"))); 11