This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: PATCH to support __cxa_atexit and __cxa_finalize
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: PATCH to support __cxa_atexit and __cxa_finalize
- From: Andreas Jaeger <aj at suse dot de>
- Date: 17 Dec 1999 09:40:43 +0100
- Cc: libc-alpha at sourceware dot cygnus dot com, Ulrich Drepper <drepper at gnu dot org>
- References: <19991216235635L.mitchell@codesourcery.com>
>>>>> 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