* ld-srec/sr3.cc: Add definitions for terminate, __terminate, and

__throw, since the current g++ expects them to be defined.
This commit is contained in:
Ian Lance Taylor 1997-10-20 18:37:48 +00:00
parent 595da85d72
commit 43093ad9e3
2 changed files with 37 additions and 6 deletions

View File

@ -1,3 +1,28 @@
Mon Oct 20 14:36:39 1997 Ian Lance Taylor <ian@cygnus.com>
* ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
__throw, since the current g++ expects them to be defined.
Fri Oct 3 12:24:03 1997 Ian Lance Taylor <ian@cygnus.com>
* ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output
file if the string libc appears in it.
(objdump_versionstuff): Accept unexpected lines in the output
file. Compare lines using string match.
* ld-elfvers/vers6.ver: Permit any value in the vna_other field.
Tue Aug 12 16:01:22 1997 Ian Lance Taylor <ian@cygnus.com>
* ld-scripts/crossref.exp: Correct string quoting.
Sat Aug 9 00:56:03 1997 Ian Lance Taylor <ian@cygnus.com>
* config/default.exp: Change ld, as, nm and strip from .new to
-new. Load ld-lib.exp rather than ld.exp.
* ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
* lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
DejaGnu changes.
Thu Jun 26 12:07:03 1997 Ian Lance Taylor <ian@cygnus.com>
* ld-elfvers/vers.exp: Use egrep rather than grep when looking for

View File

@ -26,6 +26,14 @@ main ()
return 0;
}
void
terminate(void)
{
/* This recursive call prevents a compiler warning that the noreturn
function terminate actually does return. */
terminate ();
}
extern "C" {
int
__main ()
@ -42,15 +50,13 @@ __builtin_new ()
{
}
/* V_SPILL and V_FILL are used by a29k-amd-udi. */
int
V_SPILL ()
void
__throw ()
{
}
int
V_FILL ()
void
__terminate ()
{
}
}