aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-10-20 18:37:48 +0000
committerIan Lance Taylor <ian@airs.com>1997-10-20 18:37:48 +0000
commit43093ad9e3d9dc5b258d07cb941635782fecb4f7 (patch)
tree95c1e09b794bd155d04363310b682e24473cbf17 /ld/testsuite
parent595da85d72d82bf368f025175485f9c8471f53e3 (diff)
downloadgdb-43093ad9e3d9dc5b258d07cb941635782fecb4f7.zip
gdb-43093ad9e3d9dc5b258d07cb941635782fecb4f7.tar.gz
gdb-43093ad9e3d9dc5b258d07cb941635782fecb4f7.tar.bz2
* ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
__throw, since the current g++ expects them to be defined.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog25
-rw-r--r--ld/testsuite/ld-srec/sr3.cc18
2 files changed, 37 insertions, 6 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index e5f6629..708b6aa 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -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
diff --git a/ld/testsuite/ld-srec/sr3.cc b/ld/testsuite/ld-srec/sr3.cc
index 800b46b..e4aea92 100644
--- a/ld/testsuite/ld-srec/sr3.cc
+++ b/ld/testsuite/ld-srec/sr3.cc
@@ -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 ()
{
}
}