This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.2.4pre2
- To: Bernd Schmidt <bernds at redhat dot com>
- Subject: Re: glibc 2.2.4pre2
- From: Andreas Jaeger <aj at suse dot de>
- Date: Thu, 09 Aug 2001 14:03:19 +0200
- Cc: Jakub Jelinek <jakub at redhat dot com>, Thorsten Kukuk <kukuk at suse dot de>,"Frédéric L. W. Meunier" <0 at pervalidus dot net>,<libc-alpha at sources dot redhat dot com>, <gcc-patches at gcc dot gnu dot org>
- References: <Pine.LNX.4.33.0108091202530.18354-100000@host140.cambridge.redhat.com>
Bernd Schmidt <bernds@redhat.com> writes:
> On Thu, 9 Aug 2001, Andreas Jaeger wrote:
> > Bernd, can you add this to 2.95.x, please?
>
> ChangeLog please, and an explanation of what it does.
The patch adds a weak symbol __dso_handle to GCC which is needed for
proper handling of c++ local destructors, and the atexit implementation
in glibc (it handles running of destructors when unloading shared libs
correctly).
Here're the original ChangeLog entry for GCC 3.
2000-04-29 Richard Henderson <rth@cygnus.com>
* config/alpha/crtbegin.asm: Mark __dso_handle hidden.
2000-02-16 Richard Henderson <rth@cygnus.com>
* alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
(__do_global_dtors_aux): ... here. Call __cxa_finalize if
shared and present.
(__dso_handle): New variable.
2000-04-04 Ulrich Drepper <drepper@cygnus.com>
* acconfig.h: Add HAVE_GAS_HIDDEN.
* config.in: Regenerated.
* configure.in: Add test for .hidden pseudo-op in gas.
* configure: Regenerated.
* crtstuff.c: Include auto-host.h.
Emit additional .hidden pseudo-op for __dso_handle if the
assembler knows about it.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
PGP signature