+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
const char * show_bar1 = "asdf";
const char * show_bar2 = "asdf";
+extern int new2_foo();
+extern int bar33();
+
int
bar()
{
* 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();
* 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();
* 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()
+#include <stdio.h>
+
+extern int show_foo ();
+
int
main ()
{
* 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()
/*
* Main program for test1, test2.
*/
+#include <stdio.h>
+
+extern int show_foo ();
int
main()
* the actual symbol is exported. This is built both with and without
* -export-dynamic.
*/
+#include <stdio.h>
+
+extern int foo ();
+
int
bar()
{
* 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()
* Test program that goes with test7.so
*/
+extern int hide_a();
+extern int show_b();
int
main()
const char * bar1 = "asdf";
const char * bar2 = "asdf";
+extern int old_foo1();
+
int
bar()
{
extern int (*shlib_getfunptr1 ()) ();
extern int (*shlib_getfunptr2 ()) ();
extern int shlib_check ();
+extern int shlib_shlibcall2 ();
/* This function is called by the shared library. */
i = ++foos;
}
-Foo::Foo (char* msg)
+Foo::Foo (char*)
{
i = ++foos;
}