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/ld-srec | |
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/ld-srec')
-rw-r--r-- | ld/testsuite/ld-srec/sr3.cc | 9 |
1 files changed, 9 insertions, 0 deletions
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; +} |