Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-elfvers / vers21.c
blob4a994a19fee8cf82e17b8fb6ec2b1e45ada13089
1 #include "vers.h"
3 FUNC_SYMVER(_old_foo, foo@VERS.0);
4 FUNC_SYMVER(_old_bar, bar@VERS.0);
5 SYMVER(_old_foobar, foobar@VERS.0);
7 int
8 bar ()
10 return 1;
13 int __attribute__ ((weak))
14 _old_bar ()
16 return bar ();
19 int
20 foo ()
22 return 2;
25 int
26 _old_foo ()
28 return foo ();
31 int _old_foobar = -1;
33 int foobar = 1;