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 for static constructors for ARM EABI


On Thursday 21 April 2005 23:22, Julian Brown wrote:
> ChangeLog (Paul Brook):
>
>   * config/arm/arm.c (arm_elf_asm_constructor): New function.
>   * config/arm/arm.h (CTORS_SECTION_ASM_OP): Define.
>   (CTORS_SECTION_FOR_TARGET, CTOR_LIST_END, CTOR_LIST_BEGIN): Define.
>   * config/arm/elf.h (TARGET_ASM_CONSTRUCTOR): Define.
>   (SUPPORTS_INIT_PRIORITY): Evaluate to false for EABI based targets.

Not ok.

This code was largely rewritten by this patch:
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01901.html
and a followup for .fini_array:
http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01534.html

Paul


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