This is the mail archive of the libc-alpha@sourceware.cygnus.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: PATCH to support __cxa_atexit and __cxa_finalize


>>>>> Mark Mitchell writes:

Mark> The IA64 C++ ABI (and the new g++ ABI) require two additional routines
Mark> in the C library (__cxa_atexit and __cxa_finalize).  These routines
Mark> handle destructors for static objects when a shared library is
Mark> unloaded.

Just for clarification: Is this only needed for IA64 or is it needed
for all platforms?  Should this go into glibc 2.1.3 or only in glibc
2.2?

Does __cxa_finalize and __cxa_atexit need to be declared with external
scope?  In that case you need to add it to the Versions file, e.g.

  GLIBC_2.1.3 {
     __cxa_atexit; __cxa_finalize;
  }

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

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