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>, Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 02 Sep 2004 16:40:23 +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.
OK.
R.
PS. I notice that symbianelf is including arm/unknown-elf.h. I'm not
entirely convinced that is a good idea.