repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Automatic date update in version.in
[binutils-gdb.git]
/
gold
/
testsuite
/
ifuncmod6.c
blob
89a50f931b489f9bcfbd4e948c42b3861055c5de
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
get_foo_p
(
void
);
8
extern
foo_p
get_foo
(
void
);
9
10
foo_p foo_ptr
=
foo
;
11
12
foo_p
13
get_foo_p
(
void
)
14
{
15
return
foo_ptr
;
16
}
17
18
foo_p
19
get_foo
(
void
)
20
{
21
return
foo
;
22
}