From 1770511a8ac755de0737ccaff817bd5a72cf36c0 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Wed, 6 Jul 2016 23:55:52 +0000 Subject: [PATCH] remove unused CTOR_LISTS_DEFINED_EXTERNALLY macro The last target to use this was i386-interix, so since that is gone we don't need this anymore. libgcc/ChangeLog: 2016-07-06 Trevor Saunders * libgcc2.c (SYMBOL__MAIN): Remove checks for CTOR_LISTS_DEFINED_EXTERNALLY. From-SVN: r238067 --- libgcc/ChangeLog | 5 +++++ libgcc/libgcc2.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 8f758e39e11..ca000335e9f 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2016-07-06 Trevor Saunders + + * libgcc2.c (SYMBOL__MAIN): Remove checks for + CTOR_LISTS_DEFINED_EXTERNALLY. + 2016-06-28 Walter Lee * config/tilepro/atomic.h: Do not include arch/spr_def.h and diff --git a/libgcc/libgcc2.c b/libgcc/libgcc2.c index 6bc9a2f6c40..0a716bf7b8f 100644 --- a/libgcc/libgcc2.c +++ b/libgcc/libgcc2.c @@ -2309,8 +2309,7 @@ SYMBOL__MAIN (void) must be in the bss/common section. Long term no port should use those extensions. But many still do. */ -#if !defined(__LIBGCC_INIT_SECTION_ASM_OP__) \ - && !defined(CTOR_LISTS_DEFINED_EXTERNALLY) +#if !defined(__LIBGCC_INIT_SECTION_ASM_OP__) #if defined (TARGET_ASM_CONSTRUCTOR) || defined (USE_COLLECT2) func_ptr __CTOR_LIST__[2] = {0, 0}; func_ptr __DTOR_LIST__[2] = {0, 0}; @@ -2318,6 +2317,6 @@ func_ptr __DTOR_LIST__[2] = {0, 0}; func_ptr __CTOR_LIST__[2]; func_ptr __DTOR_LIST__[2]; #endif -#endif /* no __LIBGCC_INIT_SECTION_ASM_OP__ and not CTOR_LISTS_DEFINED_EXTERNALLY */ +#endif /* no __LIBGCC_INIT_SECTION_ASM_OP__ */ #endif /* L_ctors */ #endif /* LIBGCC2_UNITS_PER_WORD <= MIN_UNITS_PER_WORD */ -- 2.30.2