From: Trevor Saunders <tbsaunde+...@tbsaunde.org> Hi,
The last target to use this was i386-interix, so since that is gone we don't need this anymore. bootstrapped and regtested on x86-linux-gnu, ok? Trev libgcc/ChangeLog: 2016-06-27 Trevor Saunders <tbsaunde+...@tbsaunde.org> * libgcc2.c (SYMBOL__MAIN): Remove checks for CTOR_LISTS_DEFINED_EXTERNALLY. --- libgcc/libgcc2.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libgcc/libgcc2.c b/libgcc/libgcc2.c index 6bc9a2f..0a716bf 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.7.4