repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
hurd: fix _hurd_self_sigstate reference from ____longjmp_chk
[glibc.git]
/
elf
/
ifuncmod6.c
blob
2e16c1d06d065aa071352376a1338488ab01d344
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
foo_p foo_ptr
=
foo
;
8
9
foo_p
10
get_foo_p
(
void
)
11
{
12
return
foo_ptr
;
13
}
14
15
foo_p
16
get_foo
(
void
)
17
{
18
return
foo
;
19
}