projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Properly handle common symbol and weak function
[external/binutils.git]
/
ld
/
testsuite
/
ld-ifunc
/
ifunc-common-1b.c
1
void alt (void) { }
2
3
void foo (void);
4
void * foo_ifunc (void) __asm__ ("foo");
5
__asm__(".type foo, %gnu_indirect_function");
6
__asm__(".weak foo");
7
8
void *
9
foo_ifunc (void)
10
{
11
return alt;
12
}