This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [arm] Use atexit by default
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 02 Sep 2004 16:49:28 +0100
- Subject: Re: [arm] Use atexit by default
- References: <200409021631.57332.paul@codesourcery.com>
On Thu, 2004-09-02 at 16:31, Paul Brook wrote:
> The ARM EABI provides and requires the use of __cxa_atexit[1].
> Patch below makes this the default for eabi based targets.
>
> Ok?
>
> Paul
>
> [1] It actually says __aeabi_atexit, but that's a different problem.
>
> 2004-09-02 Paul Brook <paul@codesourcery.com>
>
> * config.gcc (arm*-*-eabi* | arm*-*-symbianelf*): Set
> default_use_cxa_atexit=yes.
This isn't an objection to the patch, but if the user turns on the EABI
on the compiler command line, shouldn't that also force this feature to
be enabled?
R.