universally apply our cflags (no vsx, no altivec..)
[glibc.git] / elf / ifuncmod6.c
1 /* Test STT_GNU_IFUNC symbol reference in a shared library. */
2
3 extern int foo (void);
4
5 typedef int (*foo_p) (void);
6
7 extern foo_p foo_ptr;
8
9 foo_p
10 get_foo_p (void)
11 {
12 return foo_ptr;
13 }
14
15 int
16 call_foo (void)
17 {
18 return foo ();
19 }