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.
This commit is contained in:
H.J. Lu 2002-06-03 04:56:52 +00:00
parent cedb70c545
commit bfba206a7e
2 changed files with 15 additions and 0 deletions

View 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> 2002-05-30 Richard Henderson <rth@redhat.com>
* ld-bootstrap/bootstrap.exp: Test --relax. * ld-bootstrap/bootstrap.exp: Test --relax.

View File

@ -116,3 +116,12 @@ Foo::~Foo ()
{ {
foos--; foos--;
} }
void *__dso_handle;
extern "C"
int
__cxa_atexit (void)
{
return 0;
}