projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[x86] Resolve non-PIC undefweak symbols in executable
[external/binutils.git]
/
ld
/
testsuite
/
ld-i386
/
pr19704a.c
1
#include <stdio.h>
2
3
extern int __attribute__ ((weak)) fun (void);
4
5
int
6
main (void)
7
{
8
if (&fun != 0)
9
fun ();
10
else
11
printf ("Weak undefined\n");
12
return 0;
13
}