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
powerpc: Add optimized strlen for POWER10
[glibc.git]
/
elf
/
ifuncmod6.c
blob
2f6d0715e6e9ff992323ca436c12ac5037d51055
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
}