diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-07-22 00:40:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-07-22 00:40:34 +0000 |
commit | 0cd9f5f03ba1fc0a5ce4a87fd9a1ed821eaa81c1 (patch) | |
tree | c451c97e8a8b6fa2dc3f84add0abe78ad5d10df4 /ld/testsuite/ld-elfvers/vers1.c | |
parent | 75987f837d86a482443aab3c68a8b84afc600ce5 (diff) | |
download | binutils-0cd9f5f03ba1fc0a5ce4a87fd9a1ed821eaa81c1.zip binutils-0cd9f5f03ba1fc0a5ce4a87fd9a1ed821eaa81c1.tar.gz binutils-0cd9f5f03ba1fc0a5ce4a87fd9a1ed821eaa81c1.tar.bz2 |
1999-07-21 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers1.c: Add missing prototypes and include
<stdio.h> if necessary.
* ld-elfvers/vers15.c: Likewise.
* ld-elfvers/vers19.c: Likewise.
* ld-elfvers/vers2.c: Likewise.
* ld-elfvers/vers3.c: Likewise.
* ld-elfvers/vers4.c: Likewise.
* ld-elfvers/vers6.c: Likewise.
* ld-elfvers/vers7.c: Likewise.
* ld-elfvers/vers9.c: Likewise.
* ld-shared/main.c: Likewise.
* ld-srec/sr3.cc (Foo::Foo): Remove arg name.
Diffstat (limited to 'ld/testsuite/ld-elfvers/vers1.c')
-rw-r--r-- | ld/testsuite/ld-elfvers/vers1.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ld/testsuite/ld-elfvers/vers1.c b/ld/testsuite/ld-elfvers/vers1.c index 1d41fd9..c27bc3b 100644 --- a/ld/testsuite/ld-elfvers/vers1.c +++ b/ld/testsuite/ld-elfvers/vers1.c @@ -6,6 +6,9 @@ const char * show_bar1 = "asdf"; const char * show_bar2 = "asdf"; +extern int new2_foo(); +extern int bar33(); + int bar() { @@ -71,7 +74,7 @@ __asm__(".symver hide_new_bogus_foo,show_foo@VERS_2.2"); * This test is designed to catch a couple of syntactic errors. The assembler * should complain about both of the directives below. */ -int +void xyzzz() { new2_foo(); @@ -87,7 +90,7 @@ __asm__(".symver bar33,bar@@VERS_2.0"); * This test is designed to catch a couple of syntactic errors. The assembler * should complain about both of the directives below. */ -int +void xyzzz() { new2_foo(); |