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
Updated Malay translation for the bfd sub-directory
[binutils-gdb.git]
/
gold
/
testsuite
/
weak_as_needed_c.c
blob
4c16bacf1298881506c3e412a2a5de29ba7777bc
1
#include <stdio.h>
2
3
__asm__
(
".symver bar_v1, bar@v1"
);
4
__asm__
(
".symver bar_v2, bar@@v2"
);
5
6
void
bar_v1
(
void
);
7
void
bar_v2
(
void
);
8
void
baz
(
void
);
9
void
t4
(
void
);
10
11
void
bar_v1
(
void
)
12
{
13
printf
(
"weak_as_needed_c: bar_v1
\n
"
);
14
}
15
16
void
bar_v2
(
void
)
17
{
18
printf
(
"weak_as_needed_c: bar_v2
\n
"
);
19
}
20
21
void
baz
(
void
)
22
{
23
printf
(
"weak_as_needed_c: baz
\n
"
);
24
}
25
26
void
t4
(
void
)
27
{
28
printf
(
"weak_as_needed_c: t4
\n
"
);
29
}