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
Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-x86-64
/
plt-main4.c
blob
992ba5fad651f1c91031d957972492e7a194f7d7
1
extern
int
foo
(
void
);
2
typedef
int
(*
func_p
) (
void
);
3
extern
func_p foo_ptr
;
4
5
void
6
check_foo
(
void
)
7
{
8
if
(
foo_ptr
!=
foo
)
9
__builtin_abort
();
10
if
(
foo_ptr
() !=
1
)
11
__builtin_abort
();
12
if
(
foo
() !=
1
)
13
__builtin_abort
();
14
}