From 21abc09cd6a106714664519283d0cb9e92ff7ef4 Mon Sep 17 00:00:00 2001 From: DENG Qingfang Date: Tue, 25 Aug 2020 12:03:28 +0800 Subject: [PATCH] toolchain: Update GCC 10 to version 10.2.0 Signed-off-by: DENG Qingfang --- toolchain/gcc/Config.version | 2 +- toolchain/gcc/common.mk | 4 ++-- .../gcc/patches/{10.1.0 => 10.2.0}/002-case_insensitive.patch | 0 .../gcc/patches/{10.1.0 => 10.2.0}/010-documentation.patch | 2 +- .../patches/{10.1.0 => 10.2.0}/110-Fix-MIPS-PR-84790.patch | 0 .../gcc/patches/{10.1.0 => 10.2.0}/230-musl_libssp.patch | 0 .../{10.1.0 => 10.2.0}/300-mips_Os_cpu_rtx_cost_model.patch | 0 .../patches/{10.1.0 => 10.2.0}/810-arm-softfloat-libgcc.patch | 0 toolchain/gcc/patches/{10.1.0 => 10.2.0}/820-libgcc_pic.patch | 0 .../{10.1.0 => 10.2.0}/840-armv4_pass_fix-v4bx_to_ld.patch | 0 .../patches/{10.1.0 => 10.2.0}/850-use_shared_libgcc.patch | 0 .../gcc/patches/{10.1.0 => 10.2.0}/851-libgcc_no_compat.patch | 0 .../gcc/patches/{10.1.0 => 10.2.0}/870-ppc_no_crtsavres.patch | 0 .../gcc/patches/{10.1.0 => 10.2.0}/881-no_tm_section.patch | 0 .../gcc/patches/{10.1.0 => 10.2.0}/900-bad-mips16-crt.patch | 0 toolchain/gcc/patches/{10.1.0 => 10.2.0}/910-mbsd_multi.patch | 0 .../{10.1.0 => 10.2.0}/920-specs_nonfatal_getenv.patch | 0 .../patches/{10.1.0 => 10.2.0}/930-fix-mips-noexecstack.patch | 0 .../931-libffi-fix-MIPS-softfloat-build-issue.patch | 0 ...0-gotools-fix-compilation-when-making-cross-compiler.patch | 0 20 files changed, 4 insertions(+), 4 deletions(-) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/002-case_insensitive.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/010-documentation.patch (94%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/110-Fix-MIPS-PR-84790.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/230-musl_libssp.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/300-mips_Os_cpu_rtx_cost_model.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/810-arm-softfloat-libgcc.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/820-libgcc_pic.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/840-armv4_pass_fix-v4bx_to_ld.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/850-use_shared_libgcc.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/851-libgcc_no_compat.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/870-ppc_no_crtsavres.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/881-no_tm_section.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/900-bad-mips16-crt.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/910-mbsd_multi.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/920-specs_nonfatal_getenv.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/930-fix-mips-noexecstack.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/931-libffi-fix-MIPS-softfloat-build-issue.patch (100%) rename toolchain/gcc/patches/{10.1.0 => 10.2.0}/960-gotools-fix-compilation-when-making-cross-compiler.patch (100%) diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version index ccc7b273fa..09deae3bf1 100644 --- a/toolchain/gcc/Config.version +++ b/toolchain/gcc/Config.version @@ -19,7 +19,7 @@ config GCC_VERSION default "5.5.0" if GCC_VERSION_5 default "7.5.0" if GCC_VERSION_7 default "9.3.0" if GCC_VERSION_9 - default "10.1.0" if GCC_VERSION_10 + default "10.2.0" if GCC_VERSION_10 default "8.4.0" config GCC_USE_IREMAP diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index eb0ddbf2d9..ab312e5afd 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -44,8 +44,8 @@ ifeq ($(PKG_VERSION),9.3.0) PKG_HASH:=71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1 endif -ifeq ($(PKG_VERSION),10.1.0) - PKG_HASH:=b6898a23844b656f1b68691c5c012036c2e694ac4b53a8918d4712ad876e7ea2 +ifeq ($(PKG_VERSION),10.2.0) + PKG_HASH:=b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c endif PATCH_DIR=../patches/$(GCC_VERSION) diff --git a/toolchain/gcc/patches/10.1.0/002-case_insensitive.patch b/toolchain/gcc/patches/10.2.0/002-case_insensitive.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/002-case_insensitive.patch rename to toolchain/gcc/patches/10.2.0/002-case_insensitive.patch diff --git a/toolchain/gcc/patches/10.1.0/010-documentation.patch b/toolchain/gcc/patches/10.2.0/010-documentation.patch similarity index 94% rename from toolchain/gcc/patches/10.1.0/010-documentation.patch rename to toolchain/gcc/patches/10.2.0/010-documentation.patch index 9783ff1ef0..85990e5acc 100644 --- a/toolchain/gcc/patches/10.1.0/010-documentation.patch +++ b/toolchain/gcc/patches/10.2.0/010-documentation.patch @@ -12,7 +12,7 @@ Date: Tue Feb 26 16:16:33 2013 +0000 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in -@@ -3283,18 +3283,10 @@ doc/gcc.info: $(TEXI_GCC_FILES) +@@ -3285,18 +3285,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/10.1.0/110-Fix-MIPS-PR-84790.patch b/toolchain/gcc/patches/10.2.0/110-Fix-MIPS-PR-84790.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/110-Fix-MIPS-PR-84790.patch rename to toolchain/gcc/patches/10.2.0/110-Fix-MIPS-PR-84790.patch diff --git a/toolchain/gcc/patches/10.1.0/230-musl_libssp.patch b/toolchain/gcc/patches/10.2.0/230-musl_libssp.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/230-musl_libssp.patch rename to toolchain/gcc/patches/10.2.0/230-musl_libssp.patch diff --git a/toolchain/gcc/patches/10.1.0/300-mips_Os_cpu_rtx_cost_model.patch b/toolchain/gcc/patches/10.2.0/300-mips_Os_cpu_rtx_cost_model.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/300-mips_Os_cpu_rtx_cost_model.patch rename to toolchain/gcc/patches/10.2.0/300-mips_Os_cpu_rtx_cost_model.patch diff --git a/toolchain/gcc/patches/10.1.0/810-arm-softfloat-libgcc.patch b/toolchain/gcc/patches/10.2.0/810-arm-softfloat-libgcc.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/810-arm-softfloat-libgcc.patch rename to toolchain/gcc/patches/10.2.0/810-arm-softfloat-libgcc.patch diff --git a/toolchain/gcc/patches/10.1.0/820-libgcc_pic.patch b/toolchain/gcc/patches/10.2.0/820-libgcc_pic.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/820-libgcc_pic.patch rename to toolchain/gcc/patches/10.2.0/820-libgcc_pic.patch diff --git a/toolchain/gcc/patches/10.1.0/840-armv4_pass_fix-v4bx_to_ld.patch b/toolchain/gcc/patches/10.2.0/840-armv4_pass_fix-v4bx_to_ld.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/840-armv4_pass_fix-v4bx_to_ld.patch rename to toolchain/gcc/patches/10.2.0/840-armv4_pass_fix-v4bx_to_ld.patch diff --git a/toolchain/gcc/patches/10.1.0/850-use_shared_libgcc.patch b/toolchain/gcc/patches/10.2.0/850-use_shared_libgcc.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/850-use_shared_libgcc.patch rename to toolchain/gcc/patches/10.2.0/850-use_shared_libgcc.patch diff --git a/toolchain/gcc/patches/10.1.0/851-libgcc_no_compat.patch b/toolchain/gcc/patches/10.2.0/851-libgcc_no_compat.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/851-libgcc_no_compat.patch rename to toolchain/gcc/patches/10.2.0/851-libgcc_no_compat.patch diff --git a/toolchain/gcc/patches/10.1.0/870-ppc_no_crtsavres.patch b/toolchain/gcc/patches/10.2.0/870-ppc_no_crtsavres.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/870-ppc_no_crtsavres.patch rename to toolchain/gcc/patches/10.2.0/870-ppc_no_crtsavres.patch diff --git a/toolchain/gcc/patches/10.1.0/881-no_tm_section.patch b/toolchain/gcc/patches/10.2.0/881-no_tm_section.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/881-no_tm_section.patch rename to toolchain/gcc/patches/10.2.0/881-no_tm_section.patch diff --git a/toolchain/gcc/patches/10.1.0/900-bad-mips16-crt.patch b/toolchain/gcc/patches/10.2.0/900-bad-mips16-crt.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/900-bad-mips16-crt.patch rename to toolchain/gcc/patches/10.2.0/900-bad-mips16-crt.patch diff --git a/toolchain/gcc/patches/10.1.0/910-mbsd_multi.patch b/toolchain/gcc/patches/10.2.0/910-mbsd_multi.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/910-mbsd_multi.patch rename to toolchain/gcc/patches/10.2.0/910-mbsd_multi.patch diff --git a/toolchain/gcc/patches/10.1.0/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches/10.2.0/920-specs_nonfatal_getenv.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/920-specs_nonfatal_getenv.patch rename to toolchain/gcc/patches/10.2.0/920-specs_nonfatal_getenv.patch diff --git a/toolchain/gcc/patches/10.1.0/930-fix-mips-noexecstack.patch b/toolchain/gcc/patches/10.2.0/930-fix-mips-noexecstack.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/930-fix-mips-noexecstack.patch rename to toolchain/gcc/patches/10.2.0/930-fix-mips-noexecstack.patch diff --git a/toolchain/gcc/patches/10.1.0/931-libffi-fix-MIPS-softfloat-build-issue.patch b/toolchain/gcc/patches/10.2.0/931-libffi-fix-MIPS-softfloat-build-issue.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/931-libffi-fix-MIPS-softfloat-build-issue.patch rename to toolchain/gcc/patches/10.2.0/931-libffi-fix-MIPS-softfloat-build-issue.patch diff --git a/toolchain/gcc/patches/10.1.0/960-gotools-fix-compilation-when-making-cross-compiler.patch b/toolchain/gcc/patches/10.2.0/960-gotools-fix-compilation-when-making-cross-compiler.patch similarity index 100% rename from toolchain/gcc/patches/10.1.0/960-gotools-fix-compilation-when-making-cross-compiler.patch rename to toolchain/gcc/patches/10.2.0/960-gotools-fix-compilation-when-making-cross-compiler.patch -- 2.30.2