Sign in
nest-open-source
/
nest-cam
/
v366
/
glibc
/
refs/heads/main
/
.
/
elf
/
ifuncmod6.c
blob: 2e16c1d06d065aa071352376a1338488ab01d344 [
file
] [
log
] [
blame
] [
edit
]
/* Test STT_GNU_IFUNC symbol reference in a shared library. */
extern
int
foo
(
void
);
typedef
int
(*
foo_p
)
(
void
);
foo_p foo_ptr
=
foo
;
foo_p
get_foo_p
(
void
)
{
return
foo_ptr
;
}
foo_p
get_foo
(
void
)
{
return
foo
;
}