diff options
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-srec/sr3.cc | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index b8c3de6..1328cde 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -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. diff --git a/ld/testsuite/ld-srec/sr3.cc b/ld/testsuite/ld-srec/sr3.cc index 4cde2dc..283245d 100644 --- a/ld/testsuite/ld-srec/sr3.cc +++ b/ld/testsuite/ld-srec/sr3.cc @@ -116,3 +116,12 @@ Foo::~Foo () { foos--; } + +void *__dso_handle; + +extern "C" +int +__cxa_atexit (void) +{ + return 0; +} |