From 89b9a554721490c4c9746418ab51250d7a7ddab8 Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Mon, 30 Dec 2019 21:11:22 +0000 Subject: [PATCH] Fix typo in macro name guarding conditional in vxcrtstuff.c 2019-12-30 Olivier Hainque libgcc/ * config/vxcrtstuff.c: Fix incorrect spelling of USE_INITFINI_ARRAY in guard. From-SVN: r279774 --- libgcc/ChangeLog | 5 +++++ libgcc/config/vxcrtstuff.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 6faa4d395fd..3fc15d3bee0 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2019-12-30 Olivier Hainque + + * config/vxcrtstuff.c: Fix incorrect spelling of + USE_INITFINI_ARRAY in guard. + 2019-12-16 Jozef Lawrynowicz * config.host: s/msp430*-*-elf/msp430-*-elf*. diff --git a/libgcc/config/vxcrtstuff.c b/libgcc/config/vxcrtstuff.c index 616ad072cba..87fadda9ac5 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 -- 2.30.2