aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--toolchain/gcc/common.mk3
-rw-r--r--toolchain/gcc/patches-10.x/002-case_insensitive.patch (renamed from toolchain/gcc/patches/10.3.0/002-case_insensitive.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/010-documentation.patch (renamed from toolchain/gcc/patches/10.3.0/010-documentation.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/110-Fix-MIPS-PR-84790.patch (renamed from toolchain/gcc/patches/10.3.0/110-Fix-MIPS-PR-84790.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/230-musl_libssp.patch (renamed from toolchain/gcc/patches/10.3.0/230-musl_libssp.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/300-mips_Os_cpu_rtx_cost_model.patch (renamed from toolchain/gcc/patches/10.3.0/300-mips_Os_cpu_rtx_cost_model.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/810-arm-softfloat-libgcc.patch (renamed from toolchain/gcc/patches/10.3.0/810-arm-softfloat-libgcc.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/820-libgcc_pic.patch (renamed from toolchain/gcc/patches/10.3.0/820-libgcc_pic.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/840-armv4_pass_fix-v4bx_to_ld.patch (renamed from toolchain/gcc/patches/10.3.0/840-armv4_pass_fix-v4bx_to_ld.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/850-use_shared_libgcc.patch (renamed from toolchain/gcc/patches/10.3.0/850-use_shared_libgcc.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/851-libgcc_no_compat.patch (renamed from toolchain/gcc/patches/10.3.0/851-libgcc_no_compat.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/870-ppc_no_crtsavres.patch (renamed from toolchain/gcc/patches/10.3.0/870-ppc_no_crtsavres.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/881-no_tm_section.patch (renamed from toolchain/gcc/patches/10.3.0/881-no_tm_section.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/900-bad-mips16-crt.patch (renamed from toolchain/gcc/patches/10.3.0/900-bad-mips16-crt.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/910-mbsd_multi.patch (renamed from toolchain/gcc/patches/10.3.0/910-mbsd_multi.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/920-specs_nonfatal_getenv.patch (renamed from toolchain/gcc/patches/10.3.0/920-specs_nonfatal_getenv.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/930-fix-mips-noexecstack.patch (renamed from toolchain/gcc/patches/10.3.0/930-fix-mips-noexecstack.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/931-libffi-fix-MIPS-softfloat-build-issue.patch (renamed from toolchain/gcc/patches/10.3.0/931-libffi-fix-MIPS-softfloat-build-issue.patch)0
-rw-r--r--toolchain/gcc/patches-10.x/960-gotools-fix-compilation-when-making-cross-compiler.patch (renamed from toolchain/gcc/patches/10.3.0/960-gotools-fix-compilation-when-making-cross-compiler.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/002-case_insensitive.patch (renamed from toolchain/gcc/patches/11.3.0/002-case_insensitive.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/010-documentation.patch (renamed from toolchain/gcc/patches/11.3.0/010-documentation.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/011-v12-configure-define-TARGET_LIBC_GNUSTACK-on-musl.patch (renamed from toolchain/gcc/patches/11.3.0/011-v12-configure-define-TARGET_LIBC_GNUSTACK-on-musl.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/110-Fix-MIPS-PR-84790.patch (renamed from toolchain/gcc/patches/11.3.0/110-Fix-MIPS-PR-84790.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/230-musl_libssp.patch (renamed from toolchain/gcc/patches/11.3.0/230-musl_libssp.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/300-mips_Os_cpu_rtx_cost_model.patch (renamed from toolchain/gcc/patches/11.3.0/300-mips_Os_cpu_rtx_cost_model.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/810-arm-softfloat-libgcc.patch (renamed from toolchain/gcc/patches/11.3.0/810-arm-softfloat-libgcc.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/820-libgcc_pic.patch (renamed from toolchain/gcc/patches/11.3.0/820-libgcc_pic.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/840-armv4_pass_fix-v4bx_to_ld.patch (renamed from toolchain/gcc/patches/11.3.0/840-armv4_pass_fix-v4bx_to_ld.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/850-use_shared_libgcc.patch (renamed from toolchain/gcc/patches/11.3.0/850-use_shared_libgcc.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/851-libgcc_no_compat.patch (renamed from toolchain/gcc/patches/11.3.0/851-libgcc_no_compat.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/870-ppc_no_crtsavres.patch (renamed from toolchain/gcc/patches/11.3.0/870-ppc_no_crtsavres.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/881-no_tm_section.patch (renamed from toolchain/gcc/patches/11.3.0/881-no_tm_section.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/900-bad-mips16-crt.patch (renamed from toolchain/gcc/patches/11.3.0/900-bad-mips16-crt.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/910-mbsd_multi.patch (renamed from toolchain/gcc/patches/11.3.0/910-mbsd_multi.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/920-specs_nonfatal_getenv.patch (renamed from toolchain/gcc/patches/11.3.0/920-specs_nonfatal_getenv.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/931-libffi-fix-MIPS-softfloat-build-issue.patch (renamed from toolchain/gcc/patches/11.3.0/931-libffi-fix-MIPS-softfloat-build-issue.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/960-gotools-fix-compilation-when-making-cross-compiler.patch (renamed from toolchain/gcc/patches/11.3.0/960-gotools-fix-compilation-when-making-cross-compiler.patch)0
-rw-r--r--toolchain/gcc/patches-11.x/970-macos_arm64-building-fix.patch (renamed from toolchain/gcc/patches/11.3.0/970-macos_arm64-building-fix.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/002-case_insensitive.patch (renamed from toolchain/gcc/patches/12.2.0/002-case_insensitive.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/010-documentation.patch (renamed from toolchain/gcc/patches/12.2.0/010-documentation.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/110-Fix-MIPS-PR-84790.patch (renamed from toolchain/gcc/patches/12.2.0/110-Fix-MIPS-PR-84790.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/230-musl_libssp.patch (renamed from toolchain/gcc/patches/12.2.0/230-musl_libssp.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/300-mips_Os_cpu_rtx_cost_model.patch (renamed from toolchain/gcc/patches/12.2.0/300-mips_Os_cpu_rtx_cost_model.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/810-arm-softfloat-libgcc.patch (renamed from toolchain/gcc/patches/12.2.0/810-arm-softfloat-libgcc.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/820-libgcc_pic.patch (renamed from toolchain/gcc/patches/12.2.0/820-libgcc_pic.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/840-armv4_pass_fix-v4bx_to_ld.patch (renamed from toolchain/gcc/patches/12.2.0/840-armv4_pass_fix-v4bx_to_ld.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/850-use_shared_libgcc.patch (renamed from toolchain/gcc/patches/12.2.0/850-use_shared_libgcc.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/851-libgcc_no_compat.patch (renamed from toolchain/gcc/patches/12.2.0/851-libgcc_no_compat.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/870-ppc_no_crtsavres.patch (renamed from toolchain/gcc/patches/12.2.0/870-ppc_no_crtsavres.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/881-no_tm_section.patch (renamed from toolchain/gcc/patches/12.2.0/881-no_tm_section.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/900-bad-mips16-crt.patch (renamed from toolchain/gcc/patches/12.2.0/900-bad-mips16-crt.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/910-mbsd_multi.patch (renamed from toolchain/gcc/patches/12.2.0/910-mbsd_multi.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/920-specs_nonfatal_getenv.patch (renamed from toolchain/gcc/patches/12.2.0/920-specs_nonfatal_getenv.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/960-gotools-fix-compilation-when-making-cross-compiler.patch (renamed from toolchain/gcc/patches/12.2.0/960-gotools-fix-compilation-when-making-cross-compiler.patch)0
-rw-r--r--toolchain/gcc/patches-12.x/970-macos_arm64-building-fix.patch (renamed from toolchain/gcc/patches/12.2.0/970-macos_arm64-building-fix.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/002-case_insensitive.patch (renamed from toolchain/gcc/patches/8.4.0/002-case_insensitive.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/010-documentation.patch (renamed from toolchain/gcc/patches/8.4.0/010-documentation.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/110-Fix-MIPS-PR-84790.patch (renamed from toolchain/gcc/patches/8.4.0/110-Fix-MIPS-PR-84790.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/230-musl_libssp.patch (renamed from toolchain/gcc/patches/8.4.0/230-musl_libssp.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/300-mips_Os_cpu_rtx_cost_model.patch (renamed from toolchain/gcc/patches/8.4.0/300-mips_Os_cpu_rtx_cost_model.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/800-arm_v5te_no_ldrd_strd.patch (renamed from toolchain/gcc/patches/8.4.0/800-arm_v5te_no_ldrd_strd.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/810-arm-softfloat-libgcc.patch (renamed from toolchain/gcc/patches/8.4.0/810-arm-softfloat-libgcc.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/820-libgcc_pic.patch (renamed from toolchain/gcc/patches/8.4.0/820-libgcc_pic.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/840-armv4_pass_fix-v4bx_to_ld.patch (renamed from toolchain/gcc/patches/8.4.0/840-armv4_pass_fix-v4bx_to_ld.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/850-use_shared_libgcc.patch (renamed from toolchain/gcc/patches/8.4.0/850-use_shared_libgcc.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/851-libgcc_no_compat.patch (renamed from toolchain/gcc/patches/8.4.0/851-libgcc_no_compat.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/870-ppc_no_crtsavres.patch (renamed from toolchain/gcc/patches/8.4.0/870-ppc_no_crtsavres.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/881-no_tm_section.patch (renamed from toolchain/gcc/patches/8.4.0/881-no_tm_section.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/900-bad-mips16-crt.patch (renamed from toolchain/gcc/patches/8.4.0/900-bad-mips16-crt.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/910-mbsd_multi.patch (renamed from toolchain/gcc/patches/8.4.0/910-mbsd_multi.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/920-specs_nonfatal_getenv.patch (renamed from toolchain/gcc/patches/8.4.0/920-specs_nonfatal_getenv.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/930-fix-mips-noexecstack.patch (renamed from toolchain/gcc/patches/8.4.0/930-fix-mips-noexecstack.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/931-libffi-fix-MIPS-softfloat-build-issue.patch (renamed from toolchain/gcc/patches/8.4.0/931-libffi-fix-MIPS-softfloat-build-issue.patch)0
-rw-r--r--toolchain/gcc/patches-8.x/960-gotools-fix-compilation-when-making-cross-compiler.patch (renamed from toolchain/gcc/patches/8.4.0/960-gotools-fix-compilation-when-making-cross-compiler.patch)0
74 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk
index f116af7e1a..83884dd54c 100644
--- a/toolchain/gcc/common.mk
+++ b/toolchain/gcc/common.mk
@@ -23,6 +23,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gcc
GCC_VERSION:=$(call qstrip,$(CONFIG_GCC_VERSION))
PKG_VERSION:=$(firstword $(subst +, ,$(GCC_VERSION)))
+GCC_MAJOR_VERSION:=$(word 1,$(subst ., ,$(PKG_VERSION)))
GCC_DIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=@GNU/gcc/gcc-$(PKG_VERSION)
@@ -44,7 +45,7 @@ ifeq ($(PKG_VERSION),12.2.0)
PKG_HASH:=e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff
endif
-PATCH_DIR=../patches/$(GCC_VERSION)
+PATCH_DIR=../patches-$(GCC_MAJOR_VERSION).x
BUGURL=http://bugs.openwrt.org/
PKGVERSION=OpenWrt GCC $(PKG_VERSION) $(REVISION)
diff --git a/toolchain/gcc/patches/10.3.0/002-case_insensitive.patch b/toolchain/gcc/patches-10.x/002-case_insensitive.patch
index 409497e5a3..409497e5a3 100644
--- a/toolchain/gcc/patches/10.3.0/002-case_insensitive.patch
+++ b/toolchain/gcc/patches-10.x/002-case_insensitive.patch
diff --git a/toolchain/gcc/patches/10.3.0/010-documentation.patch b/toolchain/gcc/patches-10.x/010-documentation.patch
index 85990e5acc..85990e5acc 100644
--- a/toolchain/gcc/patches/10.3.0/010-documentation.patch
+++ b/toolchain/gcc/patches-10.x/010-documentation.patch
diff --git a/toolchain/gcc/patches/10.3.0/110-Fix-MIPS-PR-84790.patch b/toolchain/gcc/patches-10.x/110-Fix-MIPS-PR-84790.patch
index 82ac013d30..82ac013d30 100644
--- a/toolchain/gcc/patches/10.3.0/110-Fix-MIPS-PR-84790.patch
+++ b/toolchain/gcc/patches-10.x/110-Fix-MIPS-PR-84790.patch
diff --git a/toolchain/gcc/patches/10.3.0/230-musl_libssp.patch b/toolchain/gcc/patches-10.x/230-musl_libssp.patch
index 63f37662f4..63f37662f4 100644
--- a/toolchain/gcc/patches/10.3.0/230-musl_libssp.patch
+++ b/toolchain/gcc/patches-10.x/230-musl_libssp.patch
diff --git a/toolchain/gcc/patches/10.3.0/300-mips_Os_cpu_rtx_cost_model.patch b/toolchain/gcc/patches-10.x/300-mips_Os_cpu_rtx_cost_model.patch
index 8c4a5fce19..8c4a5fce19 100644
--- a/toolchain/gcc/patches/10.3.0/300-mips_Os_cpu_rtx_cost_model.patch
+++ b/toolchain/gcc/patches-10.x/300-mips_Os_cpu_rtx_cost_model.patch
diff --git a/toolchain/gcc/patches/10.3.0/810-arm-softfloat-libgcc.patch b/toolchain/gcc/patches-10.x/810-arm-softfloat-libgcc.patch
index 5c9d86aead..5c9d86aead 100644
--- a/toolchain/gcc/patches/10.3.0/810-arm-softfloat-libgcc.patch
+++ b/toolchain/gcc/patches-10.x/810-arm-softfloat-libgcc.patch
diff --git a/toolchain/gcc/patches/10.3.0/820-libgcc_pic.patch b/toolchain/gcc/patches-10.x/820-libgcc_pic.patch
index ddd6cf8732..ddd6cf8732 100644
--- a/toolchain/gcc/patches/10.3.0/820-libgcc_pic.patch
+++ b/toolchain/gcc/patches-10.x/820-libgcc_pic.patch
diff --git a/toolchain/gcc/patches/10.3.0/840-armv4_pass_fix-v4bx_to_ld.patch b/toolchain/gcc/patches-10.x/840-armv4_pass_fix-v4bx_to_ld.patch
index e3cb616c4e..e3cb616c4e 100644
--- a/toolchain/gcc/patches/10.3.0/840-armv4_pass_fix-v4bx_to_ld.patch
+++ b/toolchain/gcc/patches-10.x/840-armv4_pass_fix-v4bx_to_ld.patch
diff --git a/toolchain/gcc/patches/10.3.0/850-use_shared_libgcc.patch b/toolchain/gcc/patches-10.x/850-use_shared_libgcc.patch
index 8b17f1374f..8b17f1374f 100644
--- a/toolchain/gcc/patches/10.3.0/850-use_shared_libgcc.patch
+++ b/toolchain/gcc/patches-10.x/850-use_shared_libgcc.patch
diff --git a/toolchain/gcc/patches/10.3.0/851-libgcc_no_compat.patch b/toolchain/gcc/patches-10.x/851-libgcc_no_compat.patch
index d710e40717..d710e40717 100644
--- a/toolchain/gcc/patches/10.3.0/851-libgcc_no_compat.patch
+++ b/toolchain/gcc/patches-10.x/851-libgcc_no_compat.patch
diff --git a/toolchain/gcc/patches/10.3.0/870-ppc_no_crtsavres.patch b/toolchain/gcc/patches-10.x/870-ppc_no_crtsavres.patch
index bc182f0cec..bc182f0cec 100644
--- a/toolchain/gcc/patches/10.3.0/870-ppc_no_crtsavres.patch
+++ b/toolchain/gcc/patches-10.x/870-ppc_no_crtsavres.patch
diff --git a/toolchain/gcc/patches/10.3.0/881-no_tm_section.patch b/toolchain/gcc/patches-10.x/881-no_tm_section.patch
index 2029910fd0..2029910fd0 100644
--- a/toolchain/gcc/patches/10.3.0/881-no_tm_section.patch
+++ b/toolchain/gcc/patches-10.x/881-no_tm_section.patch
diff --git a/toolchain/gcc/patches/10.3.0/900-bad-mips16-crt.patch b/toolchain/gcc/patches-10.x/900-bad-mips16-crt.patch
index dd6e9dc889..dd6e9dc889 100644
--- a/toolchain/gcc/patches/10.3.0/900-bad-mips16-crt.patch
+++ b/toolchain/gcc/patches-10.x/900-bad-mips16-crt.patch
diff --git a/toolchain/gcc/patches/10.3.0/910-mbsd_multi.patch b/toolchain/gcc/patches-10.x/910-mbsd_multi.patch
index 3ed6238310..3ed6238310 100644
--- a/toolchain/gcc/patches/10.3.0/910-mbsd_multi.patch
+++ b/toolchain/gcc/patches-10.x/910-mbsd_multi.patch
diff --git a/toolchain/gcc/patches/10.3.0/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches-10.x/920-specs_nonfatal_getenv.patch
index 487b9e47cb..487b9e47cb 100644
--- a/toolchain/gcc/patches/10.3.0/920-specs_nonfatal_getenv.patch
+++ b/toolchain/gcc/patches-10.x/920-specs_nonfatal_getenv.patch
diff --git a/toolchain/gcc/patches/10.3.0/930-fix-mips-noexecstack.patch b/toolchain/gcc/patches-10.x/930-fix-mips-noexecstack.patch
index e795acd1de..e795acd1de 100644
--- a/toolchain/gcc/patches/10.3.0/930-fix-mips-noexecstack.patch
+++ b/toolchain/gcc/patches-10.x/930-fix-mips-noexecstack.patch
diff --git a/toolchain/gcc/patches/10.3.0/931-libffi-fix-MIPS-softfloat-build-issue.patch b/toolchain/gcc/patches-10.x/931-libffi-fix-MIPS-softfloat-build-issue.patch
index fb4cb1533a..fb4cb1533a 100644
--- a/toolchain/gcc/patches/10.3.0/931-libffi-fix-MIPS-softfloat-build-issue.patch
+++ b/toolchain/gcc/patches-10.x/931-libffi-fix-MIPS-softfloat-build-issue.patch
diff --git a/toolchain/gcc/patches/10.3.0/960-gotools-fix-compilation-when-making-cross-compiler.patch b/toolchain/gcc/patches-10.x/960-gotools-fix-compilation-when-making-cross-compiler.patch
index b1d7576328..b1d7576328 100644
--- a/toolchain/gcc/patches/10.3.0/960-gotools-fix-compilation-when-making-cross-compiler.patch
+++ b/toolchain/gcc/patches-10.x/960-gotools-fix-compilation-when-making-cross-compiler.patch
diff --git a/toolchain/gcc/patches/11.3.0/002-case_insensitive.patch b/toolchain/gcc/patches-11.x/002-case_insensitive.patch
index 409497e5a3..409497e5a3 100644
--- a/toolchain/gcc/patches/11.3.0/002-case_insensitive.patch
+++ b/toolchain/gcc/patches-11.x/002-case_insensitive.patch
diff --git a/toolchain/gcc/patches/11.3.0/010-documentation.patch b/toolchain/gcc/patches-11.x/010-documentation.patch
index 25a5e1e99c..25a5e1e99c 100644
--- a/toolchain/gcc/patches/11.3.0/010-documentation.patch
+++ b/toolchain/gcc/patches-11.x/010-documentation.patch
diff --git a/toolchain/gcc/patches/11.3.0/011-v12-configure-define-TARGET_LIBC_GNUSTACK-on-musl.patch b/toolchain/gcc/patches-11.x/011-v12-configure-define-TARGET_LIBC_GNUSTACK-on-musl.patch
index 423def6000..423def6000 100644
--- a/toolchain/gcc/patches/11.3.0/011-v12-configure-define-TARGET_LIBC_GNUSTACK-on-musl.patch
+++ b/toolchain/gcc/patches-11.x/011-v12-configure-define-TARGET_LIBC_GNUSTACK-on-musl.patch
diff --git a/toolchain/gcc/patches/11.3.0/110-Fix-MIPS-PR-84790.patch b/toolchain/gcc/patches-11.x/110-Fix-MIPS-PR-84790.patch
index 82ac013d30..82ac013d30 100644
--- a/toolchain/gcc/patches/11.3.0/110-Fix-MIPS-PR-84790.patch
+++ b/toolchain/gcc/patches-11.x/110-Fix-MIPS-PR-84790.patch
diff --git a/toolchain/gcc/patches/11.3.0/230-musl_libssp.patch b/toolchain/gcc/patches-11.x/230-musl_libssp.patch
index 66b88bc9e9..66b88bc9e9 100644
--- a/toolchain/gcc/patches/11.3.0/230-musl_libssp.patch
+++ b/toolchain/gcc/patches-11.x/230-musl_libssp.patch
diff --git a/toolchain/gcc/patches/11.3.0/300-mips_Os_cpu_rtx_cost_model.patch b/toolchain/gcc/patches-11.x/300-mips_Os_cpu_rtx_cost_model.patch
index 8c4a5fce19..8c4a5fce19 100644
--- a/toolchain/gcc/patches/11.3.0/300-mips_Os_cpu_rtx_cost_model.patch
+++ b/toolchain/gcc/patches-11.x/300-mips_Os_cpu_rtx_cost_model.patch
diff --git a/toolchain/gcc/patches/11.3.0/810-arm-softfloat-libgcc.patch b/toolchain/gcc/patches-11.x/810-arm-softfloat-libgcc.patch
index 5c9d86aead..5c9d86aead 100644
--- a/toolchain/gcc/patches/11.3.0/810-arm-softfloat-libgcc.patch
+++ b/toolchain/gcc/patches-11.x/810-arm-softfloat-libgcc.patch
diff --git a/toolchain/gcc/patches/11.3.0/820-libgcc_pic.patch b/toolchain/gcc/patches-11.x/820-libgcc_pic.patch
index 525a95b565..525a95b565 100644
--- a/toolchain/gcc/patches/11.3.0/820-libgcc_pic.patch
+++ b/toolchain/gcc/patches-11.x/820-libgcc_pic.patch
diff --git a/toolchain/gcc/patches/11.3.0/840-armv4_pass_fix-v4bx_to_ld.patch b/toolchain/gcc/patches-11.x/840-armv4_pass_fix-v4bx_to_ld.patch
index e3cb616c4e..e3cb616c4e 100644
--- a/toolchain/gcc/patches/11.3.0/840-armv4_pass_fix-v4bx_to_ld.patch
+++ b/toolchain/gcc/patches-11.x/840-armv4_pass_fix-v4bx_to_ld.patch
diff --git a/toolchain/gcc/patches/11.3.0/850-use_shared_libgcc.patch b/toolchain/gcc/patches-11.x/850-use_shared_libgcc.patch
index 8b17f1374f..8b17f1374f 100644
--- a/toolchain/gcc/patches/11.3.0/850-use_shared_libgcc.patch
+++ b/toolchain/gcc/patches-11.x/850-use_shared_libgcc.patch
diff --git a/toolchain/gcc/patches/11.3.0/851-libgcc_no_compat.patch b/toolchain/gcc/patches-11.x/851-libgcc_no_compat.patch
index d710e40717..d710e40717 100644
--- a/toolchain/gcc/patches/11.3.0/851-libgcc_no_compat.patch
+++ b/toolchain/gcc/patches-11.x/851-libgcc_no_compat.patch
diff --git a/toolchain/gcc/patches/11.3.0/870-ppc_no_crtsavres.patch b/toolchain/gcc/patches-11.x/870-ppc_no_crtsavres.patch
index bc182f0cec..bc182f0cec 100644
--- a/toolchain/gcc/patches/11.3.0/870-ppc_no_crtsavres.patch
+++ b/toolchain/gcc/patches-11.x/870-ppc_no_crtsavres.patch
diff --git a/toolchain/gcc/patches/11.3.0/881-no_tm_section.patch b/toolchain/gcc/patches-11.x/881-no_tm_section.patch
index 2029910fd0..2029910fd0 100644
--- a/toolchain/gcc/patches/11.3.0/881-no_tm_section.patch
+++ b/toolchain/gcc/patches-11.x/881-no_tm_section.patch
diff --git a/toolchain/gcc/patches/11.3.0/900-bad-mips16-crt.patch b/toolchain/gcc/patches-11.x/900-bad-mips16-crt.patch
index dd6e9dc889..dd6e9dc889 100644
--- a/toolchain/gcc/patches/11.3.0/900-bad-mips16-crt.patch
+++ b/toolchain/gcc/patches-11.x/900-bad-mips16-crt.patch
diff --git a/toolchain/gcc/patches/11.3.0/910-mbsd_multi.patch b/toolchain/gcc/patches-11.x/910-mbsd_multi.patch
index 21f532043e..21f532043e 100644
--- a/toolchain/gcc/patches/11.3.0/910-mbsd_multi.patch
+++ b/toolchain/gcc/patches-11.x/910-mbsd_multi.patch
diff --git a/toolchain/gcc/patches/11.3.0/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches-11.x/920-specs_nonfatal_getenv.patch
index 83bcb25a80..83bcb25a80 100644
--- a/toolchain/gcc/patches/11.3.0/920-specs_nonfatal_getenv.patch
+++ b/toolchain/gcc/patches-11.x/920-specs_nonfatal_getenv.patch
diff --git a/toolchain/gcc/patches/11.3.0/931-libffi-fix-MIPS-softfloat-build-issue.patch b/toolchain/gcc/patches-11.x/931-libffi-fix-MIPS-softfloat-build-issue.patch
index fb4cb1533a..fb4cb1533a 100644
--- a/toolchain/gcc/patches/11.3.0/931-libffi-fix-MIPS-softfloat-build-issue.patch
+++ b/toolchain/gcc/patches-11.x/931-libffi-fix-MIPS-softfloat-build-issue.patch
diff --git a/toolchain/gcc/patches/11.3.0/960-gotools-fix-compilation-when-making-cross-compiler.patch b/toolchain/gcc/patches-11.x/960-gotools-fix-compilation-when-making-cross-compiler.patch
index b1d7576328..b1d7576328 100644
--- a/toolchain/gcc/patches/11.3.0/960-gotools-fix-compilation-when-making-cross-compiler.patch
+++ b/toolchain/gcc/patches-11.x/960-gotools-fix-compilation-when-making-cross-compiler.patch
diff --git a/toolchain/gcc/patches/11.3.0/970-macos_arm64-building-fix.patch b/toolchain/gcc/patches-11.x/970-macos_arm64-building-fix.patch
index 424899eb9c..424899eb9c 100644
--- a/toolchain/gcc/patches/11.3.0/970-macos_arm64-building-fix.patch
+++ b/toolchain/gcc/patches-11.x/970-macos_arm64-building-fix.patch
diff --git a/toolchain/gcc/patches/12.2.0/002-case_insensitive.patch b/toolchain/gcc/patches-12.x/002-case_insensitive.patch
index 409497e5a3..409497e5a3 100644
--- a/toolchain/gcc/patches/12.2.0/002-case_insensitive.patch
+++ b/toolchain/gcc/patches-12.x/002-case_insensitive.patch
diff --git a/toolchain/gcc/patches/12.2.0/010-documentation.patch b/toolchain/gcc/patches-12.x/010-documentation.patch
index 39ee48ed67..39ee48ed67 100644
--- a/toolchain/gcc/patches/12.2.0/010-documentation.patch
+++ b/toolchain/gcc/patches-12.x/010-documentation.patch
diff --git a/toolchain/gcc/patches/12.2.0/110-Fix-MIPS-PR-84790.patch b/toolchain/gcc/patches-12.x/110-Fix-MIPS-PR-84790.patch
index 856fd6a46c..856fd6a46c 100644
--- a/toolchain/gcc/patches/12.2.0/110-Fix-MIPS-PR-84790.patch
+++ b/toolchain/gcc/patches-12.x/110-Fix-MIPS-PR-84790.patch
diff --git a/toolchain/gcc/patches/12.2.0/230-musl_libssp.patch b/toolchain/gcc/patches-12.x/230-musl_libssp.patch
index 3ce5e49587..3ce5e49587 100644
--- a/toolchain/gcc/patches/12.2.0/230-musl_libssp.patch
+++ b/toolchain/gcc/patches-12.x/230-musl_libssp.patch
diff --git a/toolchain/gcc/patches/12.2.0/300-mips_Os_cpu_rtx_cost_model.patch b/toolchain/gcc/patches-12.x/300-mips_Os_cpu_rtx_cost_model.patch
index 1d223f2a0f..1d223f2a0f 100644
--- a/toolchain/gcc/patches/12.2.0/300-mips_Os_cpu_rtx_cost_model.patch
+++ b/toolchain/gcc/patches-12.x/300-mips_Os_cpu_rtx_cost_model.patch
diff --git a/toolchain/gcc/patches/12.2.0/810-arm-softfloat-libgcc.patch b/toolchain/gcc/patches-12.x/810-arm-softfloat-libgcc.patch
index 5c9d86aead..5c9d86aead 100644
--- a/toolchain/gcc/patches/12.2.0/810-arm-softfloat-libgcc.patch
+++ b/toolchain/gcc/patches-12.x/810-arm-softfloat-libgcc.patch
diff --git a/toolchain/gcc/patches/12.2.0/820-libgcc_pic.patch b/toolchain/gcc/patches-12.x/820-libgcc_pic.patch
index 525a95b565..525a95b565 100644
--- a/toolchain/gcc/patches/12.2.0/820-libgcc_pic.patch
+++ b/toolchain/gcc/patches-12.x/820-libgcc_pic.patch
diff --git a/toolchain/gcc/patches/12.2.0/840-armv4_pass_fix-v4bx_to_ld.patch b/toolchain/gcc/patches-12.x/840-armv4_pass_fix-v4bx_to_ld.patch
index e3cb616c4e..e3cb616c4e 100644
--- a/toolchain/gcc/patches/12.2.0/840-armv4_pass_fix-v4bx_to_ld.patch
+++ b/toolchain/gcc/patches-12.x/840-armv4_pass_fix-v4bx_to_ld.patch
diff --git a/toolchain/gcc/patches/12.2.0/850-use_shared_libgcc.patch b/toolchain/gcc/patches-12.x/850-use_shared_libgcc.patch
index 7be30f3283..7be30f3283 100644
--- a/toolchain/gcc/patches/12.2.0/850-use_shared_libgcc.patch
+++ b/toolchain/gcc/patches-12.x/850-use_shared_libgcc.patch
diff --git a/toolchain/gcc/patches/12.2.0/851-libgcc_no_compat.patch b/toolchain/gcc/patches-12.x/851-libgcc_no_compat.patch
index d710e40717..d710e40717 100644
--- a/toolchain/gcc/patches/12.2.0/851-libgcc_no_compat.patch
+++ b/toolchain/gcc/patches-12.x/851-libgcc_no_compat.patch
diff --git a/toolchain/gcc/patches/12.2.0/870-ppc_no_crtsavres.patch b/toolchain/gcc/patches-12.x/870-ppc_no_crtsavres.patch
index e51079dc13..e51079dc13 100644
--- a/toolchain/gcc/patches/12.2.0/870-ppc_no_crtsavres.patch
+++ b/toolchain/gcc/patches-12.x/870-ppc_no_crtsavres.patch
diff --git a/toolchain/gcc/patches/12.2.0/881-no_tm_section.patch b/toolchain/gcc/patches-12.x/881-no_tm_section.patch
index 2029910fd0..2029910fd0 100644
--- a/toolchain/gcc/patches/12.2.0/881-no_tm_section.patch
+++ b/toolchain/gcc/patches-12.x/881-no_tm_section.patch
diff --git a/toolchain/gcc/patches/12.2.0/900-bad-mips16-crt.patch b/toolchain/gcc/patches-12.x/900-bad-mips16-crt.patch
index dd6e9dc889..dd6e9dc889 100644
--- a/toolchain/gcc/patches/12.2.0/900-bad-mips16-crt.patch
+++ b/toolchain/gcc/patches-12.x/900-bad-mips16-crt.patch
diff --git a/toolchain/gcc/patches/12.2.0/910-mbsd_multi.patch b/toolchain/gcc/patches-12.x/910-mbsd_multi.patch
index 4033c5b23b..4033c5b23b 100644
--- a/toolchain/gcc/patches/12.2.0/910-mbsd_multi.patch
+++ b/toolchain/gcc/patches-12.x/910-mbsd_multi.patch
diff --git a/toolchain/gcc/patches/12.2.0/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches-12.x/920-specs_nonfatal_getenv.patch
index 0f7d40b244..0f7d40b244 100644
--- a/toolchain/gcc/patches/12.2.0/920-specs_nonfatal_getenv.patch
+++ b/toolchain/gcc/patches-12.x/920-specs_nonfatal_getenv.patch
diff --git a/toolchain/gcc/patches/12.2.0/960-gotools-fix-compilation-when-making-cross-compiler.patch b/toolchain/gcc/patches-12.x/960-gotools-fix-compilation-when-making-cross-compiler.patch
index b1d7576328..b1d7576328 100644
--- a/toolchain/gcc/patches/12.2.0/960-gotools-fix-compilation-when-making-cross-compiler.patch
+++ b/toolchain/gcc/patches-12.x/960-gotools-fix-compilation-when-making-cross-compiler.patch
diff --git a/toolchain/gcc/patches/12.2.0/970-macos_arm64-building-fix.patch b/toolchain/gcc/patches-12.x/970-macos_arm64-building-fix.patch
index 86fa68e1b1..86fa68e1b1 100644
--- a/toolchain/gcc/patches/12.2.0/970-macos_arm64-building-fix.patch
+++ b/toolchain/gcc/patches-12.x/970-macos_arm64-building-fix.patch
diff --git a/toolchain/gcc/patches/8.4.0/002-case_insensitive.patch b/toolchain/gcc/patches-8.x/002-case_insensitive.patch
index 3442076d7d..3442076d7d 100644
--- a/toolchain/gcc/patches/8.4.0/002-case_insensitive.patch
+++ b/toolchain/gcc/patches-8.x/002-case_insensitive.patch
diff --git a/toolchain/gcc/patches/8.4.0/010-documentation.patch b/toolchain/gcc/patches-8.x/010-documentation.patch
index c7e3d4ad55..c7e3d4ad55 100644
--- a/toolchain/gcc/patches/8.4.0/010-documentation.patch
+++ b/toolchain/gcc/patches-8.x/010-documentation.patch
diff --git a/toolchain/gcc/patches/8.4.0/110-Fix-MIPS-PR-84790.patch b/toolchain/gcc/patches-8.x/110-Fix-MIPS-PR-84790.patch
index b89eca2faf..b89eca2faf 100644
--- a/toolchain/gcc/patches/8.4.0/110-Fix-MIPS-PR-84790.patch
+++ b/toolchain/gcc/patches-8.x/110-Fix-MIPS-PR-84790.patch
diff --git a/toolchain/gcc/patches/8.4.0/230-musl_libssp.patch b/toolchain/gcc/patches-8.x/230-musl_libssp.patch
index b3ab79cafb..b3ab79cafb 100644
--- a/toolchain/gcc/patches/8.4.0/230-musl_libssp.patch
+++ b/toolchain/gcc/patches-8.x/230-musl_libssp.patch
diff --git a/toolchain/gcc/patches/8.4.0/300-mips_Os_cpu_rtx_cost_model.patch b/toolchain/gcc/patches-8.x/300-mips_Os_cpu_rtx_cost_model.patch
index 2e2c609e48..2e2c609e48 100644
--- a/toolchain/gcc/patches/8.4.0/300-mips_Os_cpu_rtx_cost_model.patch
+++ b/toolchain/gcc/patches-8.x/300-mips_Os_cpu_rtx_cost_model.patch
diff --git a/toolchain/gcc/patches/8.4.0/800-arm_v5te_no_ldrd_strd.patch b/toolchain/gcc/patches-8.x/800-arm_v5te_no_ldrd_strd.patch
index 172295f28b..172295f28b 100644
--- a/toolchain/gcc/patches/8.4.0/800-arm_v5te_no_ldrd_strd.patch
+++ b/toolchain/gcc/patches-8.x/800-arm_v5te_no_ldrd_strd.patch
diff --git a/toolchain/gcc/patches/8.4.0/810-arm-softfloat-libgcc.patch b/toolchain/gcc/patches-8.x/810-arm-softfloat-libgcc.patch
index 5c9d86aead..5c9d86aead 100644
--- a/toolchain/gcc/patches/8.4.0/810-arm-softfloat-libgcc.patch
+++ b/toolchain/gcc/patches-8.x/810-arm-softfloat-libgcc.patch
diff --git a/toolchain/gcc/patches/8.4.0/820-libgcc_pic.patch b/toolchain/gcc/patches-8.x/820-libgcc_pic.patch
index 1a9678d480..1a9678d480 100644
--- a/toolchain/gcc/patches/8.4.0/820-libgcc_pic.patch
+++ b/toolchain/gcc/patches-8.x/820-libgcc_pic.patch
diff --git a/toolchain/gcc/patches/8.4.0/840-armv4_pass_fix-v4bx_to_ld.patch b/toolchain/gcc/patches-8.x/840-armv4_pass_fix-v4bx_to_ld.patch
index b9c9b161ad..b9c9b161ad 100644
--- a/toolchain/gcc/patches/8.4.0/840-armv4_pass_fix-v4bx_to_ld.patch
+++ b/toolchain/gcc/patches-8.x/840-armv4_pass_fix-v4bx_to_ld.patch
diff --git a/toolchain/gcc/patches/8.4.0/850-use_shared_libgcc.patch b/toolchain/gcc/patches-8.x/850-use_shared_libgcc.patch
index f619f0e6a1..f619f0e6a1 100644
--- a/toolchain/gcc/patches/8.4.0/850-use_shared_libgcc.patch
+++ b/toolchain/gcc/patches-8.x/850-use_shared_libgcc.patch
diff --git a/toolchain/gcc/patches/8.4.0/851-libgcc_no_compat.patch b/toolchain/gcc/patches-8.x/851-libgcc_no_compat.patch
index d710e40717..d710e40717 100644
--- a/toolchain/gcc/patches/8.4.0/851-libgcc_no_compat.patch
+++ b/toolchain/gcc/patches-8.x/851-libgcc_no_compat.patch
diff --git a/toolchain/gcc/patches/8.4.0/870-ppc_no_crtsavres.patch b/toolchain/gcc/patches-8.x/870-ppc_no_crtsavres.patch
index 51d11c3d85..51d11c3d85 100644
--- a/toolchain/gcc/patches/8.4.0/870-ppc_no_crtsavres.patch
+++ b/toolchain/gcc/patches-8.x/870-ppc_no_crtsavres.patch
diff --git a/toolchain/gcc/patches/8.4.0/881-no_tm_section.patch b/toolchain/gcc/patches-8.x/881-no_tm_section.patch
index fab5db3be5..fab5db3be5 100644
--- a/toolchain/gcc/patches/8.4.0/881-no_tm_section.patch
+++ b/toolchain/gcc/patches-8.x/881-no_tm_section.patch
diff --git a/toolchain/gcc/patches/8.4.0/900-bad-mips16-crt.patch b/toolchain/gcc/patches-8.x/900-bad-mips16-crt.patch
index dd6e9dc889..dd6e9dc889 100644
--- a/toolchain/gcc/patches/8.4.0/900-bad-mips16-crt.patch
+++ b/toolchain/gcc/patches-8.x/900-bad-mips16-crt.patch
diff --git a/toolchain/gcc/patches/8.4.0/910-mbsd_multi.patch b/toolchain/gcc/patches-8.x/910-mbsd_multi.patch
index c566ea35e5..c566ea35e5 100644
--- a/toolchain/gcc/patches/8.4.0/910-mbsd_multi.patch
+++ b/toolchain/gcc/patches-8.x/910-mbsd_multi.patch
diff --git a/toolchain/gcc/patches/8.4.0/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches-8.x/920-specs_nonfatal_getenv.patch
index c3836e63af..c3836e63af 100644
--- a/toolchain/gcc/patches/8.4.0/920-specs_nonfatal_getenv.patch
+++ b/toolchain/gcc/patches-8.x/920-specs_nonfatal_getenv.patch
diff --git a/toolchain/gcc/patches/8.4.0/930-fix-mips-noexecstack.patch b/toolchain/gcc/patches-8.x/930-fix-mips-noexecstack.patch
index ed8ada22a1..ed8ada22a1 100644
--- a/toolchain/gcc/patches/8.4.0/930-fix-mips-noexecstack.patch
+++ b/toolchain/gcc/patches-8.x/930-fix-mips-noexecstack.patch
diff --git a/toolchain/gcc/patches/8.4.0/931-libffi-fix-MIPS-softfloat-build-issue.patch b/toolchain/gcc/patches-8.x/931-libffi-fix-MIPS-softfloat-build-issue.patch
index fb4cb1533a..fb4cb1533a 100644
--- a/toolchain/gcc/patches/8.4.0/931-libffi-fix-MIPS-softfloat-build-issue.patch
+++ b/toolchain/gcc/patches-8.x/931-libffi-fix-MIPS-softfloat-build-issue.patch
diff --git a/toolchain/gcc/patches/8.4.0/960-gotools-fix-compilation-when-making-cross-compiler.patch b/toolchain/gcc/patches-8.x/960-gotools-fix-compilation-when-making-cross-compiler.patch
index 1dd05080d3..1dd05080d3 100644
--- a/toolchain/gcc/patches/8.4.0/960-gotools-fix-compilation-when-making-cross-compiler.patch
+++ b/toolchain/gcc/patches-8.x/960-gotools-fix-compilation-when-making-cross-compiler.patch