PATCH to support __cxa_atexit and __cxa_finalize
Andreas Jaeger
aj@suse.de
Fri Dec 17 00:44:00 GMT 1999
>>>>> 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
More information about the Libc-alpha
mailing list