1 /* Test local STT_GNU_IFUNC symbols:
3 1. Direct function call.
10 extern int foo (void);
18 static void * foo_ifunc (void) __asm__ ("foo");
19 __asm__(".type foo, %gnu_indirect_function");
22 __attribute__ ((used))
23 inhibit_stack_protector
26 return ifunc_one (one);
29 typedef int (*foo_p) (void);
34 __attribute__ ((noinline))
41 __attribute__ ((noinline))
66 if ((*foo_ptr) () != -30)