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
))
25 return ifunc_one (one
);
28 typedef int (*foo_p
) (void);
33 __attribute__ ((noinline
))
40 __attribute__ ((noinline
))
65 if ((*foo_ptr
) () != -30)