This is the mail archive of the 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 <> 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

Here're the original ChangeLog entry for GCC 3.

2000-04-29  Richard Henderson  <>

        * config/alpha/crtbegin.asm: Mark __dso_handle hidden.

2000-02-16  Richard Henderson  <>

        * 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  <>

        * acconfig.h: Add HAVE_GAS_HIDDEN.
        * Regenerated.
        * 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 Jaeger
  SuSE Labs

PGP signature

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