repo.or.cz
/
binutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update contributors list for update of alpha-vms bfd.
[binutils.git]
/
ld
/
testsuite
/
ld-elfvers
/
vers21.c
blob
2879c7f0e3d94c7c06688908c59ededfb4338fb0
1
__asm__
(
".symver _old_foo,foo@VERS.0"
);
2
__asm__
(
".symver _old_bar,bar@VERS.0"
);
3
__asm__
(
".symver _old_foobar,foobar@VERS.0"
);
4
__asm__
(
".weak _old_bar"
);
5
6
int
7
bar
()
8
{
9
return
1
;
10
}
11
12
int
13
_old_bar
()
14
{
15
return
bar
();
16
}
17
18
int
19
foo
()
20
{
21
return
2
;
22
}
23
24
int
25
_old_foo
()
26
{
27
return
foo
();
28
}
29
30
int
_old_foobar
= -
1
;
31
32
int
foobar
=
1
;