1 /* Test STT_GNU_IFUNC symbols with dynamic function pointer only. */
6 extern int foo_protected (void);
8 typedef int (*foo_p
) (void);
10 extern foo_p
__attribute__ ((noinline
)) get_foo (void);
11 extern foo_p
__attribute__ ((noinline
)) get_foo_protected (void);
14 __attribute__ ((noinline
))
21 __attribute__ ((noinline
))
22 get_foo_protected (void)
36 p
= get_foo_protected ();