]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/ifuncmod6.c
Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions
[thirdparty/glibc.git] / elf / ifuncmod6.c
CommitLineData
3c30afc8
L
1/* Test STT_GNU_IFUNC symbol reference in a shared library. */
2
3extern int foo (void);
4
5typedef int (*foo_p) (void);
6
7137d682 7extern foo_p foo_ptr;
3c30afc8
L
8
9foo_p
10get_foo_p (void)
11{
12 return foo_ptr;
13}
14
7137d682
L
15int
16call_foo (void)
3c30afc8 17{
7137d682 18 return foo ();
3c30afc8 19}