Sign in
gnu
/
binutils-gdb
/
777b054cf93ad2525b891ea15bbf8d5cd6a56339
/
.
/
ld
/
testsuite
/
ld-ifunc
/
pr18841c.c
blob: 03a6354b4f9150a2edf6fb0b7835dd655e846a95 [
file
] [
log
] [
blame
]
void
foo
()
__attribute__
((
ifunc
(
"resolve_foo"
)));
static
void
foo_impl
()
{}
extern
void
zoo
(
void
);
void
(*
pz
)(
void
)
=
zoo
;
void
test
()
{
void
(*
pg
)(
void
)
=
foo
;
pg
();
}
static
void
*
resolve_foo
()
{
pz
();
return
foo_impl
;
}