1999-07-21 H.J. Lu <hjl@gnu.org>
authorIan Lance Taylor <ian@airs.com>
Thu, 22 Jul 1999 00:40:34 +0000 (00:40 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 22 Jul 1999 00:40:34 +0000 (00:40 +0000)
* 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.

12 files changed:
ld/testsuite/ChangeLog
ld/testsuite/ld-elfvers/vers1.c
ld/testsuite/ld-elfvers/vers15.c
ld/testsuite/ld-elfvers/vers19.c
ld/testsuite/ld-elfvers/vers2.c
ld/testsuite/ld-elfvers/vers3.c
ld/testsuite/ld-elfvers/vers4.c
ld/testsuite/ld-elfvers/vers6.c
ld/testsuite/ld-elfvers/vers7.c
ld/testsuite/ld-elfvers/vers9.c
ld/testsuite/ld-shared/main.c
ld/testsuite/ld-srec/sr3.cc

index e0074d23350cf24c1bae33e4b81b716dfa5e374a..65e3ecc7671ed02d1245dc9bdcf336956b10a124 100644 (file)
@@ -1,3 +1,18 @@
+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.
+
 Thu Jul 15 18:00:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
 
        * ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as
index 1d41fd9d04be16dc0f62fd18c260772da002fb2c..c27bc3bce7e74dfe5092564b0c6c5364a5b932f9 100644 (file)
@@ -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();
index d32be3ffd55f2ebfc7763b8b78cc5ab445d229c0..4e22cac092aac1bacba517f2f95d8be649993bd0 100644 (file)
@@ -2,6 +2,7 @@
  * Testcase to make sure that if we externally reference a versioned symbol
  * that we always get the right one.
  */
+#include <stdio.h>
 
 int
 foo_1()
index bc2d83cf8d18fd024b7e4ef4c215804509e6af07..c1bf27a8139144a944be2b1020010de4ec9043f4 100644 (file)
@@ -1,3 +1,7 @@
+#include <stdio.h>
+
+extern int show_foo ();
+
 int
 main ()
 {
index d6a537ea4fa94f8c06b0f87c35f9758d02600d57..eda54cb0cf4eb27da7d9682b05572fed57ee9d48 100644 (file)
@@ -2,6 +2,9 @@
  * Test function.  This is built into a shared library, and references a
  * versioned symbol foo that is in test.so.
  */
+#include <stdio.h>
+
+extern int show_foo ();
 
 void
 show_xyzzy()
index b006d7717e9c6ea71df82696dbaabd31fd21c364..dbb4dafedc7a995bf8a0077a22d8dbe4e14dbe3e 100644 (file)
@@ -1,6 +1,9 @@
 /*
  * Main program for test1, test2.
  */
+#include <stdio.h>
+
+extern int show_foo ();
 
 int
 main()
index 15497cacc819f27f93c3df0f02606823efc641af..453f2eb4d9c951f98dfa67e7567ade524197fed7 100644 (file)
@@ -4,6 +4,10 @@
  * the actual symbol is exported.  This is built both with and without
  * -export-dynamic.
  */
+#include <stdio.h>
+
+extern int foo ();
+
 int
 bar()
 {
index b5868bf3794aaa51114c63e9bd1c633cb492f9ff..9e48df9b4009588b5100b8baefec114625280337 100644 (file)
@@ -2,6 +2,12 @@
  * Testcase to make sure that if we externally reference a versioned symbol
  * that we always get the right one.
  */
+#include <stdio.h>
+
+extern int foo_1();
+extern int foo_2();
+extern int foo_3();
+extern int foo_4();
 
 int
 main()
index d25b7e00628b349355f29a2aef90d2bc7f576d35..54316c9242978b087b65c3dce9ceaf804ef25979 100644 (file)
@@ -2,6 +2,8 @@
  * Test program that goes with test7.so
  */
 
+extern int hide_a();
+extern int show_b();
 
 int
 main()
index 432fddb19b3c5befb53352da79487262d536def3..bef1402d2699657dabc7cb8697bac5d807a4b9f1 100644 (file)
@@ -5,6 +5,8 @@
 const char * bar1 = "asdf";
 const char * bar2 = "asdf";
 
+extern int old_foo1();
+
 int
 bar()
 {
index 4fcfdaa1271df08017f6a12d8573e8c5776495d4..fe5c78ae42393a868a31171d5befb42b895f37c7 100644 (file)
@@ -17,6 +17,7 @@ extern int shlib_checkfunptr2 ();
 extern int (*shlib_getfunptr1 ()) ();
 extern int (*shlib_getfunptr2 ()) ();
 extern int shlib_check ();
+extern int shlib_shlibcall2 ();
 
 /* This function is called by the shared library.  */
 
index 8717c26f34ba5b078f0b76b1a9da64572c61901e..bfe5cc849ba32f804921e3521b88915cd1fee17c 100644 (file)
@@ -88,7 +88,7 @@ Foo::Foo ()
   i = ++foos;
 }
 
-Foo::Foo (char* msg)
+Foo::Foo (char*)
 {
   i = ++foos;
 }
This page took 0.038775 seconds and 4 git commands to generate.