diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 6faa4d395fd07d20fc1a170be9ca76f5bc8a2574..3fc15d3bee094c4eecc532eb344459d2ca51fe7e 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2019-12-30 Olivier Hainque <hainque@adacore.com> + + * config/vxcrtstuff.c: Fix incorrect spelling of + USE_INITFINI_ARRAY in guard. + 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com> * config.host: s/msp430*-*-elf/msp430-*-elf*. diff --git a/libgcc/config/vxcrtstuff.c b/libgcc/config/vxcrtstuff.c index 616ad072cba7161ff5c14c0657a313120ac9f0b2..87fadda9ac50edcd34ebc545ba5b7ed9769c256c 100644 --- a/libgcc/config/vxcrtstuff.c +++ b/libgcc/config/vxcrtstuff.c @@ -38,7 +38,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see Otherwise, we may rely on ctors/dtors sections for RTPs or expect munch to be involved for kernel modules. */ -#if !defined(USE_INIT_FINI_ARRAY) && defined(__RTP__) +#if !defined(USE_INITFINI_ARRAY) && defined(__RTP__) #define USE_CDTORS_SECTIONS #endif @@ -77,7 +77,7 @@ __attribute__((section(__LIBGCC_EH_FRAME_SECTION_NAME__), aligned(4))) #define EH_CTOR_ATTRIBUTE __attribute__((constructor (101))) #define EH_DTOR_ATTRIBUTE __attribute__((destructor (101))) -#else /* USE_INITFINI_ARRAY */ +#else /* !USE_INITFINI_ARRAY */ /* Note: Even in case of .ctors/.dtors sections, we can't use the attribute (constructor (15)) here as gcc may have been configured with constructors