From d67979b9d61e4b726431ba97bfed325ad31b3e97 Mon Sep 17 00:00:00 2001 From: Ryan Mounce Date: Thu, 12 Oct 2017 11:51:36 +1030 Subject: [PATCH] toolchain/gcc: update 5.x to 5.5.0 This is the final bugfix release in the gcc-5 series. Compile and run tested on macOS 10.13 (Xcode 9), mvebu/ar71xx. Removed redundant patch for macOS (backported upstream by yours truly) Signed-off-by: Ryan Mounce --- toolchain/gcc/Config.version | 2 +- toolchain/gcc/common.mk | 8 ++++---- .../5.4.0/030-macos-header-fix-backport.patch | 10 ---------- .../001-revert_register_mode_search.patch | 0 .../{5.4.0 => 5.5.0}/002-case_insensitive.patch | 0 .../{5.4.0 => 5.5.0}/010-documentation.patch | 2 +- .../{5.4.0 => 5.5.0}/020-no-plt-backport.patch | 0 .../040-fix-mips-ICE-PR-68400.patch | 0 .../{5.4.0 => 5.5.0}/200-musl_config.patch | 4 ++-- .../patches/{5.4.0 => 5.5.0}/201-musl_arm.patch | 0 .../{5.4.0 => 5.5.0}/202-musl_mips.patch | 0 .../{5.4.0 => 5.5.0}/203-musl_powerpc.patch | 4 ++-- .../patches/{5.4.0 => 5.5.0}/204-musl_sh.patch | 0 .../patches/{5.4.0 => 5.5.0}/205-musl_x86.patch | 0 .../{5.4.0 => 5.5.0}/206-musl_aarch64.patch | 0 .../{5.4.0 => 5.5.0}/207-musl_fixincludes.patch | 0 .../{5.4.0 => 5.5.0}/209-musl_libstdc++.patch | 0 .../{5.4.0 => 5.5.0}/230-musl_libssp.patch | 0 .../240-musl-libitm-fixes.patch | 0 .../patches/{5.4.0 => 5.5.0}/250-add-musl.patch | 0 .../260-musl-add-unwind-fix.patch | 0 .../270-musl-add-powerpc-softfloat-fix.patch | 0 .../280-musl-disable-ifunc-by-default.patch | 6 ++---- .../300-mips_Os_cpu_rtx_cost_model.patch | 0 .../800-arm_v5te_no_ldrd_strd.patch | 0 .../810-arm-softfloat-libgcc.patch | 0 .../{5.4.0 => 5.5.0}/820-libgcc_pic.patch | 0 .../830-arm_unbreak_armv4t.patch | 0 .../840-armv4_pass_fix-v4bx_to_ld.patch | 0 .../850-use_shared_libgcc.patch | 0 .../{5.4.0 => 5.5.0}/851-libgcc_no_compat.patch | 0 .../{5.4.0 => 5.5.0}/870-ppc_no_crtsavres.patch | 2 +- .../{5.4.0 => 5.5.0}/880-no_java_section.patch | 0 .../{5.4.0 => 5.5.0}/881-no_tm_section.patch | 0 .../{5.4.0 => 5.5.0}/900-bad-mips16-crt.patch | 0 .../{5.4.0 => 5.5.0}/910-mbsd_multi.patch | 6 +++--- .../920-specs_nonfatal_getenv.patch | 2 +- .../930-fix-mips-noexecstack.patch | 0 .../931-fix-MIPS-softfloat-build-issue.patch | 17 +++++------------ .../940-no-clobber-stamp-bits.patch | 2 +- .../950-cpp_file_path_translation.patch | 4 ++-- .../patches/{5.4.0 => 5.5.0}/960-go_libm.patch | 0 .../patches/{5.4.0 => 5.5.0}/970-warn_bug.patch | 0 43 files changed, 25 insertions(+), 44 deletions(-) delete mode 100644 toolchain/gcc/patches/5.4.0/030-macos-header-fix-backport.patch rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/001-revert_register_mode_search.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/002-case_insensitive.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/010-documentation.patch (91%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/020-no-plt-backport.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/040-fix-mips-ICE-PR-68400.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/200-musl_config.patch (98%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/201-musl_arm.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/202-musl_mips.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/203-musl_powerpc.patch (98%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/204-musl_sh.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/205-musl_x86.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/206-musl_aarch64.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/207-musl_fixincludes.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/209-musl_libstdc++.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/230-musl_libssp.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/240-musl-libitm-fixes.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/250-add-musl.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/260-musl-add-unwind-fix.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/270-musl-add-powerpc-softfloat-fix.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/280-musl-disable-ifunc-by-default.patch (81%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/300-mips_Os_cpu_rtx_cost_model.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/800-arm_v5te_no_ldrd_strd.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/810-arm-softfloat-libgcc.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/820-libgcc_pic.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/830-arm_unbreak_armv4t.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/840-armv4_pass_fix-v4bx_to_ld.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/850-use_shared_libgcc.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/851-libgcc_no_compat.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/870-ppc_no_crtsavres.patch (84%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/880-no_java_section.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/881-no_tm_section.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/900-bad-mips16-crt.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/910-mbsd_multi.patch (97%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/920-specs_nonfatal_getenv.patch (86%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/930-fix-mips-noexecstack.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/931-fix-MIPS-softfloat-build-issue.patch (91%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/940-no-clobber-stamp-bits.patch (87%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/950-cpp_file_path_translation.patch (97%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/960-go_libm.patch (100%) rename toolchain/gcc/patches/{5.4.0 => 5.5.0}/970-warn_bug.patch (100%) diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version index 04321889b8..4edf8a87a9 100644 --- a/toolchain/gcc/Config.version +++ b/toolchain/gcc/Config.version @@ -7,7 +7,7 @@ config GCC_VERSION default "arc-2017.03-release" if GCC_VERSION_6_3_ARC default "6.3.0" if GCC_USE_VERSION_6 default "7.2.0" if GCC_USE_VERSION_7 - default "5.4.0" + default "5.5.0" config GCC_VERSION_6_3 bool diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index f1203b06a9..d7e205a011 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -26,19 +26,19 @@ PKG_VERSION:=$(firstword $(subst +, ,$(GCC_VERSION))) GCC_DIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_URL:=@GNU/gcc/gcc-$(PKG_VERSION) -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -ifeq ($(PKG_VERSION),5.4.0) - PKG_HASH:=608df76dec2d34de6558249d8af4cbee21eceddbcb580d666f7a5a583ca3303a +ifeq ($(PKG_VERSION),5.5.0) + PKG_HASH:=530cea139d82fe542b358961130c69cfde8b3d14556370b65823d2f91f0ced87 endif ifeq ($(PKG_VERSION),6.3.0) PKG_HASH:=f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f + PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 endif ifeq ($(PKG_VERSION),7.2.0) PKG_HASH:=1cf7adf8ff4b5aa49041c8734bbcf1ad18cc4c94d0029aae0f4e48841088479a - PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz endif ifneq ($(CONFIG_GCC_VERSION_6_3_ARC),) diff --git a/toolchain/gcc/patches/5.4.0/030-macos-header-fix-backport.patch b/toolchain/gcc/patches/5.4.0/030-macos-header-fix-backport.patch deleted file mode 100644 index 37c774e0b2..0000000000 --- a/toolchain/gcc/patches/5.4.0/030-macos-header-fix-backport.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/gcc/system.h -+++ b/gcc/system.h -@@ -216,6 +216,7 @@ extern int errno; - - #ifdef __cplusplus - # include -+# include - # include - # include - #endif diff --git a/toolchain/gcc/patches/5.4.0/001-revert_register_mode_search.patch b/toolchain/gcc/patches/5.5.0/001-revert_register_mode_search.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/001-revert_register_mode_search.patch rename to toolchain/gcc/patches/5.5.0/001-revert_register_mode_search.patch diff --git a/toolchain/gcc/patches/5.4.0/002-case_insensitive.patch b/toolchain/gcc/patches/5.5.0/002-case_insensitive.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/002-case_insensitive.patch rename to toolchain/gcc/patches/5.5.0/002-case_insensitive.patch diff --git a/toolchain/gcc/patches/5.4.0/010-documentation.patch b/toolchain/gcc/patches/5.5.0/010-documentation.patch similarity index 91% rename from toolchain/gcc/patches/5.4.0/010-documentation.patch rename to toolchain/gcc/patches/5.5.0/010-documentation.patch index 07064a97bc..d7166b24e7 100644 --- a/toolchain/gcc/patches/5.4.0/010-documentation.patch +++ b/toolchain/gcc/patches/5.5.0/010-documentation.patch @@ -1,6 +1,6 @@ --- a/gcc/Makefile.in +++ b/gcc/Makefile.in -@@ -2941,18 +2941,10 @@ doc/gcc.info: $(TEXI_GCC_FILES) +@@ -2943,18 +2943,10 @@ doc/gcc.info: $(TEXI_GCC_FILES) doc/gccint.info: $(TEXI_GCCINT_FILES) doc/cppinternals.info: $(TEXI_CPPINT_FILES) diff --git a/toolchain/gcc/patches/5.4.0/020-no-plt-backport.patch b/toolchain/gcc/patches/5.5.0/020-no-plt-backport.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/020-no-plt-backport.patch rename to toolchain/gcc/patches/5.5.0/020-no-plt-backport.patch diff --git a/toolchain/gcc/patches/5.4.0/040-fix-mips-ICE-PR-68400.patch b/toolchain/gcc/patches/5.5.0/040-fix-mips-ICE-PR-68400.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/040-fix-mips-ICE-PR-68400.patch rename to toolchain/gcc/patches/5.5.0/040-fix-mips-ICE-PR-68400.patch diff --git a/toolchain/gcc/patches/5.4.0/200-musl_config.patch b/toolchain/gcc/patches/5.5.0/200-musl_config.patch similarity index 98% rename from toolchain/gcc/patches/5.4.0/200-musl_config.patch rename to toolchain/gcc/patches/5.5.0/200-musl_config.patch index b9a5b28274..178c25ce34 100644 --- a/toolchain/gcc/patches/5.4.0/200-musl_config.patch +++ b/toolchain/gcc/patches/5.5.0/200-musl_config.patch @@ -277,7 +277,7 @@ git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222904 138bc75d-0d04-0410-961f-8 if test x$gcc_cv_target_dl_iterate_phdr = xyes; then --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi -@@ -667,7 +667,7 @@ Objective-C and Objective-C++ Dialects}. +@@ -668,7 +668,7 @@ Objective-C and Objective-C++ Dialects}. -mcpu=@var{cpu}} @emph{GNU/Linux Options} @@ -286,7 +286,7 @@ git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222904 138bc75d-0d04-0410-961f-8 -tno-android-cc -tno-android-ld} @emph{H8/300 Options} -@@ -15340,13 +15340,19 @@ These @samp{-m} options are defined for +@@ -15351,13 +15351,19 @@ These @samp{-m} options are defined for @item -mglibc @opindex mglibc Use the GNU C library. This is the default except diff --git a/toolchain/gcc/patches/5.4.0/201-musl_arm.patch b/toolchain/gcc/patches/5.5.0/201-musl_arm.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/201-musl_arm.patch rename to toolchain/gcc/patches/5.5.0/201-musl_arm.patch diff --git a/toolchain/gcc/patches/5.4.0/202-musl_mips.patch b/toolchain/gcc/patches/5.5.0/202-musl_mips.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/202-musl_mips.patch rename to toolchain/gcc/patches/5.5.0/202-musl_mips.patch diff --git a/toolchain/gcc/patches/5.4.0/203-musl_powerpc.patch b/toolchain/gcc/patches/5.5.0/203-musl_powerpc.patch similarity index 98% rename from toolchain/gcc/patches/5.4.0/203-musl_powerpc.patch rename to toolchain/gcc/patches/5.5.0/203-musl_powerpc.patch index b4f34e81ca..073c834ce1 100644 --- a/toolchain/gcc/patches/5.4.0/203-musl_powerpc.patch +++ b/toolchain/gcc/patches/5.5.0/203-musl_powerpc.patch @@ -52,7 +52,7 @@ gcc/Changelog: #if (TARGET_DEFAULT & MASK_LITTLE_ENDIAN) --- a/gcc/config/rs6000/secureplt.h +++ b/gcc/config/rs6000/secureplt.h -@@ -18,3 +18,4 @@ along with GCC; see the file COPYING3. +@@ -18,3 +18,4 @@ along with GCC; see the file COPYING3. . */ #define CC1_SECURE_PLT_DEFAULT_SPEC "-msecure-plt" @@ -196,7 +196,7 @@ gcc/Changelog: +#define MUSL_DYNAMIC_LINKER_E ENDIAN_SELECT("","le","le") --- a/gcc/config.gcc +++ b/gcc/config.gcc -@@ -2416,6 +2416,10 @@ powerpc*-*-linux*) +@@ -2430,6 +2430,10 @@ powerpc*-*-linux*) powerpc*-*-linux*paired*) tm_file="${tm_file} rs6000/750cl.h" ;; esac diff --git a/toolchain/gcc/patches/5.4.0/204-musl_sh.patch b/toolchain/gcc/patches/5.5.0/204-musl_sh.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/204-musl_sh.patch rename to toolchain/gcc/patches/5.5.0/204-musl_sh.patch diff --git a/toolchain/gcc/patches/5.4.0/205-musl_x86.patch b/toolchain/gcc/patches/5.5.0/205-musl_x86.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/205-musl_x86.patch rename to toolchain/gcc/patches/5.5.0/205-musl_x86.patch diff --git a/toolchain/gcc/patches/5.4.0/206-musl_aarch64.patch b/toolchain/gcc/patches/5.5.0/206-musl_aarch64.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/206-musl_aarch64.patch rename to toolchain/gcc/patches/5.5.0/206-musl_aarch64.patch diff --git a/toolchain/gcc/patches/5.4.0/207-musl_fixincludes.patch b/toolchain/gcc/patches/5.5.0/207-musl_fixincludes.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/207-musl_fixincludes.patch rename to toolchain/gcc/patches/5.5.0/207-musl_fixincludes.patch diff --git a/toolchain/gcc/patches/5.4.0/209-musl_libstdc++.patch b/toolchain/gcc/patches/5.5.0/209-musl_libstdc++.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/209-musl_libstdc++.patch rename to toolchain/gcc/patches/5.5.0/209-musl_libstdc++.patch diff --git a/toolchain/gcc/patches/5.4.0/230-musl_libssp.patch b/toolchain/gcc/patches/5.5.0/230-musl_libssp.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/230-musl_libssp.patch rename to toolchain/gcc/patches/5.5.0/230-musl_libssp.patch diff --git a/toolchain/gcc/patches/5.4.0/240-musl-libitm-fixes.patch b/toolchain/gcc/patches/5.5.0/240-musl-libitm-fixes.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/240-musl-libitm-fixes.patch rename to toolchain/gcc/patches/5.5.0/240-musl-libitm-fixes.patch diff --git a/toolchain/gcc/patches/5.4.0/250-add-musl.patch b/toolchain/gcc/patches/5.5.0/250-add-musl.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/250-add-musl.patch rename to toolchain/gcc/patches/5.5.0/250-add-musl.patch diff --git a/toolchain/gcc/patches/5.4.0/260-musl-add-unwind-fix.patch b/toolchain/gcc/patches/5.5.0/260-musl-add-unwind-fix.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/260-musl-add-unwind-fix.patch rename to toolchain/gcc/patches/5.5.0/260-musl-add-unwind-fix.patch diff --git a/toolchain/gcc/patches/5.4.0/270-musl-add-powerpc-softfloat-fix.patch b/toolchain/gcc/patches/5.5.0/270-musl-add-powerpc-softfloat-fix.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/270-musl-add-powerpc-softfloat-fix.patch rename to toolchain/gcc/patches/5.5.0/270-musl-add-powerpc-softfloat-fix.patch diff --git a/toolchain/gcc/patches/5.4.0/280-musl-disable-ifunc-by-default.patch b/toolchain/gcc/patches/5.5.0/280-musl-disable-ifunc-by-default.patch similarity index 81% rename from toolchain/gcc/patches/5.4.0/280-musl-disable-ifunc-by-default.patch rename to toolchain/gcc/patches/5.5.0/280-musl-disable-ifunc-by-default.patch index af5acf8cc9..9a043eed3c 100644 --- a/toolchain/gcc/patches/5.4.0/280-musl-disable-ifunc-by-default.patch +++ b/toolchain/gcc/patches/5.5.0/280-musl-disable-ifunc-by-default.patch @@ -14,11 +14,9 @@ git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239859 138bc75d-0d04-0410-961f-8 gcc/config.gcc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) -diff --git a/gcc/config.gcc b/gcc/config.gcc -index 8827dc8..e544d76 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc -@@ -1465,7 +1465,7 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-gnu* | i[34567]8 +@@ -1455,7 +1455,7 @@ i[34567]86-*-linux* | i[34567]86-*-kfree extra_options="${extra_options} linux-android.opt" # Assume modern glibc if not targeting Android nor uclibc. case ${target} in @@ -27,7 +25,7 @@ index 8827dc8..e544d76 100644 ;; *) default_gnu_indirect_function=yes -@@ -1531,7 +1531,7 @@ x86_64-*-linux* | x86_64-*-kfreebsd*-gnu) +@@ -1524,7 +1524,7 @@ x86_64-*-linux* | x86_64-*-kfreebsd*-gnu extra_options="${extra_options} linux-android.opt" # Assume modern glibc if not targeting Android nor uclibc. case ${target} in diff --git a/toolchain/gcc/patches/5.4.0/300-mips_Os_cpu_rtx_cost_model.patch b/toolchain/gcc/patches/5.5.0/300-mips_Os_cpu_rtx_cost_model.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/300-mips_Os_cpu_rtx_cost_model.patch rename to toolchain/gcc/patches/5.5.0/300-mips_Os_cpu_rtx_cost_model.patch diff --git a/toolchain/gcc/patches/5.4.0/800-arm_v5te_no_ldrd_strd.patch b/toolchain/gcc/patches/5.5.0/800-arm_v5te_no_ldrd_strd.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/800-arm_v5te_no_ldrd_strd.patch rename to toolchain/gcc/patches/5.5.0/800-arm_v5te_no_ldrd_strd.patch diff --git a/toolchain/gcc/patches/5.4.0/810-arm-softfloat-libgcc.patch b/toolchain/gcc/patches/5.5.0/810-arm-softfloat-libgcc.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/810-arm-softfloat-libgcc.patch rename to toolchain/gcc/patches/5.5.0/810-arm-softfloat-libgcc.patch diff --git a/toolchain/gcc/patches/5.4.0/820-libgcc_pic.patch b/toolchain/gcc/patches/5.5.0/820-libgcc_pic.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/820-libgcc_pic.patch rename to toolchain/gcc/patches/5.5.0/820-libgcc_pic.patch diff --git a/toolchain/gcc/patches/5.4.0/830-arm_unbreak_armv4t.patch b/toolchain/gcc/patches/5.5.0/830-arm_unbreak_armv4t.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/830-arm_unbreak_armv4t.patch rename to toolchain/gcc/patches/5.5.0/830-arm_unbreak_armv4t.patch diff --git a/toolchain/gcc/patches/5.4.0/840-armv4_pass_fix-v4bx_to_ld.patch b/toolchain/gcc/patches/5.5.0/840-armv4_pass_fix-v4bx_to_ld.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/840-armv4_pass_fix-v4bx_to_ld.patch rename to toolchain/gcc/patches/5.5.0/840-armv4_pass_fix-v4bx_to_ld.patch diff --git a/toolchain/gcc/patches/5.4.0/850-use_shared_libgcc.patch b/toolchain/gcc/patches/5.5.0/850-use_shared_libgcc.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/850-use_shared_libgcc.patch rename to toolchain/gcc/patches/5.5.0/850-use_shared_libgcc.patch diff --git a/toolchain/gcc/patches/5.4.0/851-libgcc_no_compat.patch b/toolchain/gcc/patches/5.5.0/851-libgcc_no_compat.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/851-libgcc_no_compat.patch rename to toolchain/gcc/patches/5.5.0/851-libgcc_no_compat.patch diff --git a/toolchain/gcc/patches/5.4.0/870-ppc_no_crtsavres.patch b/toolchain/gcc/patches/5.5.0/870-ppc_no_crtsavres.patch similarity index 84% rename from toolchain/gcc/patches/5.4.0/870-ppc_no_crtsavres.patch rename to toolchain/gcc/patches/5.5.0/870-ppc_no_crtsavres.patch index 0e64a4164b..d06673efc2 100644 --- a/toolchain/gcc/patches/5.4.0/870-ppc_no_crtsavres.patch +++ b/toolchain/gcc/patches/5.5.0/870-ppc_no_crtsavres.patch @@ -1,6 +1,6 @@ --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c -@@ -21500,7 +21500,7 @@ rs6000_savres_strategy (rs6000_stack_t * +@@ -21528,7 +21528,7 @@ rs6000_savres_strategy (rs6000_stack_t * /* Define cutoff for using out-of-line functions to save registers. */ if (DEFAULT_ABI == ABI_V4 || TARGET_ELF) { diff --git a/toolchain/gcc/patches/5.4.0/880-no_java_section.patch b/toolchain/gcc/patches/5.5.0/880-no_java_section.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/880-no_java_section.patch rename to toolchain/gcc/patches/5.5.0/880-no_java_section.patch diff --git a/toolchain/gcc/patches/5.4.0/881-no_tm_section.patch b/toolchain/gcc/patches/5.5.0/881-no_tm_section.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/881-no_tm_section.patch rename to toolchain/gcc/patches/5.5.0/881-no_tm_section.patch diff --git a/toolchain/gcc/patches/5.4.0/900-bad-mips16-crt.patch b/toolchain/gcc/patches/5.5.0/900-bad-mips16-crt.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/900-bad-mips16-crt.patch rename to toolchain/gcc/patches/5.5.0/900-bad-mips16-crt.patch diff --git a/toolchain/gcc/patches/5.4.0/910-mbsd_multi.patch b/toolchain/gcc/patches/5.5.0/910-mbsd_multi.patch similarity index 97% rename from toolchain/gcc/patches/5.4.0/910-mbsd_multi.patch rename to toolchain/gcc/patches/5.5.0/910-mbsd_multi.patch index 2d7272ef95..88905f6f2f 100644 --- a/toolchain/gcc/patches/5.4.0/910-mbsd_multi.patch +++ b/toolchain/gcc/patches/5.5.0/910-mbsd_multi.patch @@ -39,7 +39,7 @@ case OPT_fconstant_string_class_: constant_string_class_name = arg; break; -@@ -1034,6 +1043,47 @@ c_common_init (void) +@@ -1039,6 +1048,47 @@ c_common_init (void) return false; } @@ -178,7 +178,7 @@ -Wfatal-errors -Wfloat-equal -Wformat -Wformat=2 @gol -Wno-format-contains-nul -Wno-format-extra-args -Wformat-nonliteral @gol -Wformat-security -Wformat-signedness -Wformat-y2k @gol -@@ -5382,6 +5382,22 @@ This option is only supported for C and +@@ -5388,6 +5388,22 @@ This option is only supported for C and @option{-Wall} and by @option{-Wpedantic}, which can be disabled with @option{-Wno-pointer-sign}. @@ -201,7 +201,7 @@ @item -Wstack-protector @opindex Wstack-protector @opindex Wno-stack-protector -@@ -7860,7 +7876,7 @@ so, the first branch is redirected to ei +@@ -7866,7 +7882,7 @@ so, the first branch is redirected to ei second branch or a point immediately following it, depending on whether the condition is known to be true or false. diff --git a/toolchain/gcc/patches/5.4.0/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches/5.5.0/920-specs_nonfatal_getenv.patch similarity index 86% rename from toolchain/gcc/patches/5.4.0/920-specs_nonfatal_getenv.patch rename to toolchain/gcc/patches/5.5.0/920-specs_nonfatal_getenv.patch index 3d708f24c3..4c705ad86b 100644 --- a/toolchain/gcc/patches/5.4.0/920-specs_nonfatal_getenv.patch +++ b/toolchain/gcc/patches/5.5.0/920-specs_nonfatal_getenv.patch @@ -1,6 +1,6 @@ --- a/gcc/gcc.c +++ b/gcc/gcc.c -@@ -8807,8 +8807,10 @@ getenv_spec_function (int argc, const ch +@@ -8828,8 +8828,10 @@ getenv_spec_function (int argc, const ch value = getenv (argv[0]); if (!value) diff --git a/toolchain/gcc/patches/5.4.0/930-fix-mips-noexecstack.patch b/toolchain/gcc/patches/5.5.0/930-fix-mips-noexecstack.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/930-fix-mips-noexecstack.patch rename to toolchain/gcc/patches/5.5.0/930-fix-mips-noexecstack.patch diff --git a/toolchain/gcc/patches/5.4.0/931-fix-MIPS-softfloat-build-issue.patch b/toolchain/gcc/patches/5.5.0/931-fix-MIPS-softfloat-build-issue.patch similarity index 91% rename from toolchain/gcc/patches/5.4.0/931-fix-MIPS-softfloat-build-issue.patch rename to toolchain/gcc/patches/5.5.0/931-fix-MIPS-softfloat-build-issue.patch index c8461a9618..9ac0939eb0 100644 --- a/toolchain/gcc/patches/5.4.0/931-fix-MIPS-softfloat-build-issue.patch +++ b/toolchain/gcc/patches/5.5.0/931-fix-MIPS-softfloat-build-issue.patch @@ -11,11 +11,9 @@ Signed-off-by: BangLang Huang libffi/src/mips/o32.S | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) -diff --git a/libffi/src/mips/n32.S b/libffi/src/mips/n32.S -index c6985d3..8f25994 100644 --- a/libffi/src/mips/n32.S +++ b/libffi/src/mips/n32.S -@@ -107,6 +107,16 @@ loadregs: +@@ -107,6 +107,16 @@ loadregs: REG_L t6, 3*FFI_SIZEOF_ARG($fp) # load the flags word into t6. @@ -32,7 +30,7 @@ index c6985d3..8f25994 100644 and t4, t6, ((1<}, otherwise just like @option{-I}. @@ -79,7 +79,7 @@ Forward ported from attachment to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4 Add directory @var{dir} to the list of directories to be searched --- a/libcpp/include/cpplib.h +++ b/libcpp/include/cpplib.h -@@ -751,6 +751,9 @@ extern void cpp_set_lang (cpp_reader *, +@@ -751,6 +751,9 @@ extern void cpp_set_lang (cpp_reader *, /* Set the include paths. */ extern void cpp_set_include_chains (cpp_reader *, cpp_dir *, cpp_dir *, int); diff --git a/toolchain/gcc/patches/5.4.0/960-go_libm.patch b/toolchain/gcc/patches/5.5.0/960-go_libm.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/960-go_libm.patch rename to toolchain/gcc/patches/5.5.0/960-go_libm.patch diff --git a/toolchain/gcc/patches/5.4.0/970-warn_bug.patch b/toolchain/gcc/patches/5.5.0/970-warn_bug.patch similarity index 100% rename from toolchain/gcc/patches/5.4.0/970-warn_bug.patch rename to toolchain/gcc/patches/5.5.0/970-warn_bug.patch -- 2.25.1