* Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
[binutils.git] / ld / testsuite / ld-elfvers / vers18.c
blob25dcc25999c5f502f53019a1137f293b829d4de9
1 int
2 bar ()
4 return 3;
7 #pragma weak hide_original_foo
9 int
10 hide_original_foo ()
12 return 1 + bar ();
15 #pragma weak hide_old_foo
17 int
18 hide_old_foo ()
20 return 10 + bar();
23 #pragma weak hide_old_foo1
25 int
26 hide_old_foo1 ()
28 return 100 + bar ();
31 #pragma weak hide_new_foo
33 int
34 hide_new_foo ()
36 return 1000 + bar ();
39 __asm__(".symver hide_original_foo,show_foo@");
40 __asm__(".symver hide_old_foo,show_foo@VERS_1.1");
41 __asm__(".symver hide_old_foo1,show_foo@VERS_1.2");
42 __asm__(".symver hide_new_foo,show_foo@@VERS_2.0");