mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 23:57:03 +08:00
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.
This commit is contained in:
@ -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>
|
Thu Jul 15 18:00:30 1999 Mark P. Mitchell <mark@codesourcery.com>
|
||||||
|
|
||||||
* ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as
|
* ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
const char * show_bar1 = "asdf";
|
const char * show_bar1 = "asdf";
|
||||||
const char * show_bar2 = "asdf";
|
const char * show_bar2 = "asdf";
|
||||||
|
|
||||||
|
extern int new2_foo();
|
||||||
|
extern int bar33();
|
||||||
|
|
||||||
int
|
int
|
||||||
bar()
|
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
|
* This test is designed to catch a couple of syntactic errors. The assembler
|
||||||
* should complain about both of the directives below.
|
* should complain about both of the directives below.
|
||||||
*/
|
*/
|
||||||
int
|
void
|
||||||
xyzzz()
|
xyzzz()
|
||||||
{
|
{
|
||||||
new2_foo();
|
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
|
* This test is designed to catch a couple of syntactic errors. The assembler
|
||||||
* should complain about both of the directives below.
|
* should complain about both of the directives below.
|
||||||
*/
|
*/
|
||||||
int
|
void
|
||||||
xyzzz()
|
xyzzz()
|
||||||
{
|
{
|
||||||
new2_foo();
|
new2_foo();
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
* Testcase to make sure that if we externally reference a versioned symbol
|
* Testcase to make sure that if we externally reference a versioned symbol
|
||||||
* that we always get the right one.
|
* that we always get the right one.
|
||||||
*/
|
*/
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
foo_1()
|
foo_1()
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
extern int show_foo ();
|
||||||
|
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
* Test function. This is built into a shared library, and references a
|
* Test function. This is built into a shared library, and references a
|
||||||
* versioned symbol foo that is in test.so.
|
* versioned symbol foo that is in test.so.
|
||||||
*/
|
*/
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
extern int show_foo ();
|
||||||
|
|
||||||
void
|
void
|
||||||
show_xyzzy()
|
show_xyzzy()
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
* Main program for test1, test2.
|
* Main program for test1, test2.
|
||||||
*/
|
*/
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
extern int show_foo ();
|
||||||
|
|
||||||
int
|
int
|
||||||
main()
|
main()
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
* the actual symbol is exported. This is built both with and without
|
* the actual symbol is exported. This is built both with and without
|
||||||
* -export-dynamic.
|
* -export-dynamic.
|
||||||
*/
|
*/
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
extern int foo ();
|
||||||
|
|
||||||
int
|
int
|
||||||
bar()
|
bar()
|
||||||
{
|
{
|
||||||
|
@ -2,6 +2,12 @@
|
|||||||
* Testcase to make sure that if we externally reference a versioned symbol
|
* Testcase to make sure that if we externally reference a versioned symbol
|
||||||
* that we always get the right one.
|
* 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
|
int
|
||||||
main()
|
main()
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
* Test program that goes with test7.so
|
* Test program that goes with test7.so
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
extern int hide_a();
|
||||||
|
extern int show_b();
|
||||||
|
|
||||||
int
|
int
|
||||||
main()
|
main()
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
const char * bar1 = "asdf";
|
const char * bar1 = "asdf";
|
||||||
const char * bar2 = "asdf";
|
const char * bar2 = "asdf";
|
||||||
|
|
||||||
|
extern int old_foo1();
|
||||||
|
|
||||||
int
|
int
|
||||||
bar()
|
bar()
|
||||||
{
|
{
|
||||||
|
@ -17,6 +17,7 @@ extern int shlib_checkfunptr2 ();
|
|||||||
extern int (*shlib_getfunptr1 ()) ();
|
extern int (*shlib_getfunptr1 ()) ();
|
||||||
extern int (*shlib_getfunptr2 ()) ();
|
extern int (*shlib_getfunptr2 ()) ();
|
||||||
extern int shlib_check ();
|
extern int shlib_check ();
|
||||||
|
extern int shlib_shlibcall2 ();
|
||||||
|
|
||||||
/* This function is called by the shared library. */
|
/* This function is called by the shared library. */
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ Foo::Foo ()
|
|||||||
i = ++foos;
|
i = ++foos;
|
||||||
}
|
}
|
||||||
|
|
||||||
Foo::Foo (char* msg)
|
Foo::Foo (char*)
|
||||||
{
|
{
|
||||||
i = ++foos;
|
i = ++foos;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user