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: [PATCH] Use .init_array, .fini_array sections for ARM EABI


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


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