aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2019-12-30 21:11:22 +0000
committerOlivier Hainque <hainque@gcc.gnu.org>2019-12-30 21:11:22 +0000
commit89b9a554721490c4c9746418ab51250d7a7ddab8 (patch)
tree8978c51bcbf9b7dd852f4613ffa0fd2f24bfe1b4 /libgcc
parent5ee5eddb26e6007aaa2fadd19a55d6bc03cb2baa (diff)
downloadgcc-89b9a554721490c4c9746418ab51250d7a7ddab8.zip
gcc-89b9a554721490c4c9746418ab51250d7a7ddab8.tar.gz
gcc-89b9a554721490c4c9746418ab51250d7a7ddab8.tar.bz2
Fix typo in macro name guarding conditional in vxcrtstuff.c
2019-12-30 Olivier Hainque <hainque@adacore.com> libgcc/ * config/vxcrtstuff.c: Fix incorrect spelling of USE_INITFINI_ARRAY in guard. From-SVN: r279774
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgcc/config/vxcrtstuff.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 6faa4d3..3fc15d3 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 616ad07..87fadda 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