This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Use of atexit for destructors on Solaris 7.
- To: ghazi at caip dot rutgers dot edu, martin at loewis dot home dot cs dot tu-berlin dot de
- Subject: Re: Use of atexit for destructors on Solaris 7.
- From: Mike Stump <mrs at windriver dot com>
- Date: Tue, 21 Mar 2000 16:16:13 -0800 (PST)
- Cc: gcc-bugs at gcc dot gnu dot org, ross dot s at ihug dot co dot nz
> Date: Wed, 22 Mar 2000 01:04:37 +0100
> From: "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
> To: ghazi@caip.rutgers.edu
> FWIW, the new ABI says the function to call is __cxa_atexit; that is
> activated either with -fnew-abi, or -fuse-cxa-atexit. The real
> reason for this function is that it is supposed to support
> unregistration of atexit functions, though. It is implemented in
> glibc 2.1.3, and will be provided by all ABI compliant systems.
And did they spec a two argument form of atexit for modules, so that
you can remove a whole slew of them in one call?