Re: [PATCH v2 4/4] vxworks: don't define vxworks_asm_out_constructor when using .init_array

2018-08-13 Thread Olivier Hainque
Hello Rasmus, > On 28 Jun 2018, at 10:43, Rasmus Villemoes wrote: > > * config/vxworks.h: Guard vxworks_asm_out_constructor and > vxworks_asm_out_destructor by !HAVE_INITFINI_ARRAY_SUPPORT > * config/vxworks.c: Likewise. ok as well, also modulo a ChangeLog formatting nit:

[PATCH v2 4/4] vxworks: don't define vxworks_asm_out_constructor when using .init_array

2018-06-28 Thread Rasmus Villemoes
When the compiler is configured with --enable-initfini-array, config/initfini-array.h gets included after config/vxworks.h by tm.h, so the definitions of TARGET_ASM_CONSTRUTOR/TARGET_ASM_DESTRUCTOR in vxworks.h get undone in initfini-array.h. Hence, we might as well not define the