This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc 2.2.4pre2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]