1 /* Test STT_GNU_IFUNC symbols with dynamic function pointer only. */
6 extern int foo_protected (void);
8 typedef int (*foo_p
) (void);
11 __attribute__ ((noinline
))
18 /* Address-significant access to protected symbols is not supported in
19 position-dependent mode on several architectures because GCC
20 generates relocations that assume that the address is local to the
24 __attribute__ ((noinline
))
25 get_foo_protected (void)
41 p
= get_foo_protected ();