From: H.J. Lu Date: Mon, 3 Jun 2002 04:56:52 +0000 (+0000) Subject: 2005-06-02 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bfba206a7e0240ba5a3a8f8e2eaff859e323c87a;p=binutils-gdb.git 2005-06-02 H.J. Lu * ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with -fuse-cxa-atexit. (__cxa_atexit): Likewise. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index b8c3de678dc..1328cdefb1b 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2005-06-02 H.J. Lu + + * ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with + -fuse-cxa-atexit. + (__cxa_atexit): Likewise. + 2002-05-30 Richard Henderson * ld-bootstrap/bootstrap.exp: Test --relax. diff --git a/ld/testsuite/ld-srec/sr3.cc b/ld/testsuite/ld-srec/sr3.cc index 4cde2dcbeb2..283245dc768 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; +}