This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Use .init_array, .fini_array sections for ARM EABI
- From: Paul Brook <paul at codesourcery dot com>
- To: Julian Brown <julian at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 28 Apr 2005 15:04:11 +0100
- Subject: Re: [PATCH] Use .init_array, .fini_array sections for ARM EABI
- Organization: CodeSourcery
- References: <4270EB5D.1040309@codesourcery.com>
On Thursday 28 April 2005 14:55, Julian Brown wrote:
> Hi,
>
> This is a combination of three patches from the csl-arm-branch:
>
> http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02475.html
> http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01901.html
> http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01534.html
>
> It causes .init_array and .fini_array, rather than .ctors and .dtors, to
> be used for static object construction/destruction for the ARM EABI.
For the record the ARM EABI actually uses __aeabi_atexit for static object
destruction. .fini_array is only used for __attribute__((destructor)).
However this distinction isn't directly relevant to this patch.
I can't approve it, but it looks ok to me.
Paul