diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2002-06-03 04:56:52 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2002-06-03 04:56:52 +0000 |
commit | bfba206a7e0240ba5a3a8f8e2eaff859e323c87a (patch) | |
tree | be847b71fe9443c244834ce3cfe06da300571698 /ld/testsuite | |
parent | cedb70c5450013a9c0f7d25564b63c4394b74ea1 (diff) | |
download | gdb-bfba206a7e0240ba5a3a8f8e2eaff859e323c87a.zip gdb-bfba206a7e0240ba5a3a8f8e2eaff859e323c87a.tar.gz gdb-bfba206a7e0240ba5a3a8f8e2eaff859e323c87a.tar.bz2 |
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.
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; +} |