2005-06-02 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 3 Jun 2002 04:56:52 +0000 (04:56 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 3 Jun 2002 04:56:52 +0000 (04:56 +0000)
* ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with
-fuse-cxa-atexit.
(__cxa_atexit): Likewise.

ld/testsuite/ChangeLog
ld/testsuite/ld-srec/sr3.cc

index b8c3de678dc647157d0e6e32b3d9f7fe66efe642..1328cdefb1b42f3a8c0453b6604772af5bf37716 100644 (file)
@@ -1,3 +1,9 @@
+2005-06-02  H.J. Lu <hjl@gnu.org>
+
+       * ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with
+       -fuse-cxa-atexit.
+       (__cxa_atexit): Likewise.
+
 2002-05-30  Richard Henderson  <rth@redhat.com>
 
        * ld-bootstrap/bootstrap.exp: Test --relax.
index 4cde2dcbeb2c65509d9cd161f7a15b65356ec235..283245dc768d63756c87e2c7cc946f188b4f8b38 100644 (file)
@@ -116,3 +116,12 @@ Foo::~Foo ()
 {
   foos--;
 }
+
+void *__dso_handle;
+
+extern "C"
+int
+__cxa_atexit (void)
+{
+  return 0;
+}