This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [arm] Use atexit by default


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]