diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2016-07-06 23:55:52 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2016-07-06 23:55:52 +0000 |
commit | 1770511a8ac755de0737ccaff817bd5a72cf36c0 (patch) | |
tree | 3e95fd95033e897c62064a7671dc0fca70e7476a /libgcc | |
parent | e97f62233f326cae658d7f9b42d2f944c616bb91 (diff) | |
download | gcc-1770511a8ac755de0737ccaff817bd5a72cf36c0.zip gcc-1770511a8ac755de0737ccaff817bd5a72cf36c0.tar.gz gcc-1770511a8ac755de0737ccaff817bd5a72cf36c0.tar.bz2 |
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 <tbsaunde+gcc@tbsaunde.org>
* libgcc2.c (SYMBOL__MAIN): Remove checks for
CTOR_LISTS_DEFINED_EXTERNALLY.
From-SVN: r238067
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 5 | ||||
-rw-r--r-- | libgcc/libgcc2.c | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 8f758e3..ca00033 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> + + * libgcc2.c (SYMBOL__MAIN): Remove checks for + CTOR_LISTS_DEFINED_EXTERNALLY. + 2016-06-28 Walter Lee <walt@tilera.com> * config/tilepro/atomic.h: Do not include arch/spr_def.h and 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 */ |