summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@infonline.de>2021-06-11 15:28:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-06-11 15:32:57 +0200
commit1557f0ea6e1ae6c363544b853c805d4ee5900ec3 (patch)
treecc90ac681bdf941f7218dbc16b2ec5501c2da328
parentb83259f5d8417e231bf261a50954aa4c5709e814 (diff)
gcc: update 8/9
-rw-r--r--target/config/Config.in.compiler4
-rw-r--r--toolchain/gcc/Makefile.inc8
-rw-r--r--toolchain/gcc/patches/7.5.0/add-crtreloc.frv (renamed from toolchain/gcc/patches/7.4.0/add-crtreloc.frv)0
-rw-r--r--toolchain/gcc/patches/7.5.0/c6x-disable-multilib.patch (renamed from toolchain/gcc/patches/7.4.0/c6x-disable-multilib.patch)0
-rw-r--r--toolchain/gcc/patches/7.5.0/disable-split-stack-nothread.patch (renamed from toolchain/gcc/patches/7.4.0/disable-split-stack-nothread.patch)0
-rw-r--r--toolchain/gcc/patches/7.5.0/ia64-fix-libgcc.patch (renamed from toolchain/gcc/patches/7.4.0/ia64-fix-libgcc.patch)0
-rw-r--r--toolchain/gcc/patches/7.5.0/j2.patch (renamed from toolchain/gcc/patches/7.4.0/j2.patch)0
-rw-r--r--toolchain/gcc/patches/7.5.0/m68k-coldfire-pr68467.patch (renamed from toolchain/gcc/patches/7.4.0/m68k-coldfire-pr68467.patch)0
-rw-r--r--toolchain/gcc/patches/7.5.0/m68k-musl.patch (renamed from toolchain/gcc/patches/7.4.0/m68k-musl.patch)0
-rw-r--r--toolchain/gcc/patches/7.5.0/microblaze.patch (renamed from toolchain/gcc/patches/7.4.0/microblaze.patch)0
-rw-r--r--toolchain/gcc/patches/7.5.0/musl-s390x.patch (renamed from toolchain/gcc/patches/7.4.0/musl-s390x.patch)0
-rw-r--r--toolchain/gcc/patches/7.5.0/nios2-softfp.patch (renamed from toolchain/gcc/patches/7.4.0/nios2-softfp.patch)0
-rw-r--r--toolchain/gcc/patches/8.4.0/0002-xtensa-fix-PR-target-91880.patch49
-rw-r--r--toolchain/gcc/patches/8.5.0/add-crtreloc.frv (renamed from toolchain/gcc/patches/8.4.0/add-crtreloc.frv)0
-rw-r--r--toolchain/gcc/patches/8.5.0/c6x-disable-multilib.patch (renamed from toolchain/gcc/patches/8.4.0/c6x-disable-multilib.patch)0
-rw-r--r--toolchain/gcc/patches/8.5.0/ia64-fix-libgcc.patch (renamed from toolchain/gcc/patches/8.4.0/ia64-fix-libgcc.patch)0
-rw-r--r--toolchain/gcc/patches/8.5.0/j2.patch (renamed from toolchain/gcc/patches/8.4.0/j2.patch)0
-rw-r--r--toolchain/gcc/patches/8.5.0/m68k-musl.patch (renamed from toolchain/gcc/patches/8.4.0/m68k-musl.patch)0
-rw-r--r--toolchain/gcc/patches/8.5.0/musl-s390x.patch (renamed from toolchain/gcc/patches/8.4.0/musl-s390x.patch)0
-rw-r--r--toolchain/gcc/patches/8.5.0/nios2-softfp.patch (renamed from toolchain/gcc/patches/8.4.0/nios2-softfp.patch)0
-rw-r--r--toolchain/gcc/patches/9.4.0/or1k.patch (renamed from toolchain/gcc/patches/9.3.0/or1k.patch)0
21 files changed, 6 insertions, 55 deletions
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index 451151cb5..a28dd4b5a 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -36,7 +36,7 @@ config ADK_TOOLCHAIN_GCC_10
depends on !ADK_TARGET_ARCH_NDS32
config ADK_TOOLCHAIN_GCC_9
- bool "9.3.0"
+ bool "9.4.0"
depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_METAG
@@ -45,7 +45,7 @@ config ADK_TOOLCHAIN_GCC_9
depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
config ADK_TOOLCHAIN_GCC_8
- bool "8.4.0"
+ bool "8.5.0"
depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_CSKY
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index 90728356e..52b1ae4b2 100644
--- a/toolchain/gcc/Makefile.inc
+++ b/toolchain/gcc/Makefile.inc
@@ -11,16 +11,16 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
LIBSTDCXXVER:= 26
endif
ifeq ($(ADK_TOOLCHAIN_GCC_9),y)
-PKG_VERSION:= 9.3.0
-PKG_HASH:= 71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1
+PKG_VERSION:= 9.4.0
+PKG_HASH:= c95da32f440378d7751dd95533186f7fc05ceb4fb65eb5b85234e6299eb9838e
PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
PKG_RELEASE:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
LIBSTDCXXVER:= 25
endif
ifeq ($(ADK_TOOLCHAIN_GCC_8),y)
-PKG_VERSION:= 8.4.0
-PKG_HASH:= e30a6e52d10e1f27ed55104ad233c30bd1e99cfb5ff98ab022dc941edd1b2dd4
+PKG_VERSION:= 8.5.0
+PKG_HASH:= d308841a511bb830a6100397b0042db24ce11f642dab6ea6ee44842e5325ed50
PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
PKG_RELEASE:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
diff --git a/toolchain/gcc/patches/7.4.0/add-crtreloc.frv b/toolchain/gcc/patches/7.5.0/add-crtreloc.frv
index dce4a0ea0..dce4a0ea0 100644
--- a/toolchain/gcc/patches/7.4.0/add-crtreloc.frv
+++ b/toolchain/gcc/patches/7.5.0/add-crtreloc.frv
diff --git a/toolchain/gcc/patches/7.4.0/c6x-disable-multilib.patch b/toolchain/gcc/patches/7.5.0/c6x-disable-multilib.patch
index 8637b2cd2..8637b2cd2 100644
--- a/toolchain/gcc/patches/7.4.0/c6x-disable-multilib.patch
+++ b/toolchain/gcc/patches/7.5.0/c6x-disable-multilib.patch
diff --git a/toolchain/gcc/patches/7.4.0/disable-split-stack-nothread.patch b/toolchain/gcc/patches/7.5.0/disable-split-stack-nothread.patch
index 0038d7573..0038d7573 100644
--- a/toolchain/gcc/patches/7.4.0/disable-split-stack-nothread.patch
+++ b/toolchain/gcc/patches/7.5.0/disable-split-stack-nothread.patch
diff --git a/toolchain/gcc/patches/7.4.0/ia64-fix-libgcc.patch b/toolchain/gcc/patches/7.5.0/ia64-fix-libgcc.patch
index f1f3c8d2d..f1f3c8d2d 100644
--- a/toolchain/gcc/patches/7.4.0/ia64-fix-libgcc.patch
+++ b/toolchain/gcc/patches/7.5.0/ia64-fix-libgcc.patch
diff --git a/toolchain/gcc/patches/7.4.0/j2.patch b/toolchain/gcc/patches/7.5.0/j2.patch
index aafbe0ea9..aafbe0ea9 100644
--- a/toolchain/gcc/patches/7.4.0/j2.patch
+++ b/toolchain/gcc/patches/7.5.0/j2.patch
diff --git a/toolchain/gcc/patches/7.4.0/m68k-coldfire-pr68467.patch b/toolchain/gcc/patches/7.5.0/m68k-coldfire-pr68467.patch
index 45e9eb0ba..45e9eb0ba 100644
--- a/toolchain/gcc/patches/7.4.0/m68k-coldfire-pr68467.patch
+++ b/toolchain/gcc/patches/7.5.0/m68k-coldfire-pr68467.patch
diff --git a/toolchain/gcc/patches/7.4.0/m68k-musl.patch b/toolchain/gcc/patches/7.5.0/m68k-musl.patch
index a7effec4c..a7effec4c 100644
--- a/toolchain/gcc/patches/7.4.0/m68k-musl.patch
+++ b/toolchain/gcc/patches/7.5.0/m68k-musl.patch
diff --git a/toolchain/gcc/patches/7.4.0/microblaze.patch b/toolchain/gcc/patches/7.5.0/microblaze.patch
index eb6c08492..eb6c08492 100644
--- a/toolchain/gcc/patches/7.4.0/microblaze.patch
+++ b/toolchain/gcc/patches/7.5.0/microblaze.patch
diff --git a/toolchain/gcc/patches/7.4.0/musl-s390x.patch b/toolchain/gcc/patches/7.5.0/musl-s390x.patch
index 1163bdbf4..1163bdbf4 100644
--- a/toolchain/gcc/patches/7.4.0/musl-s390x.patch
+++ b/toolchain/gcc/patches/7.5.0/musl-s390x.patch
diff --git a/toolchain/gcc/patches/7.4.0/nios2-softfp.patch b/toolchain/gcc/patches/7.5.0/nios2-softfp.patch
index c677c6c2f..c677c6c2f 100644
--- a/toolchain/gcc/patches/7.4.0/nios2-softfp.patch
+++ b/toolchain/gcc/patches/7.5.0/nios2-softfp.patch
diff --git a/toolchain/gcc/patches/8.4.0/0002-xtensa-fix-PR-target-91880.patch b/toolchain/gcc/patches/8.4.0/0002-xtensa-fix-PR-target-91880.patch
deleted file mode 100644
index e65352501..000000000
--- a/toolchain/gcc/patches/8.4.0/0002-xtensa-fix-PR-target-91880.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 7c11710230921246156aecc20eb4b6ccaeaaa473 Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Tue, 24 Sep 2019 04:15:17 -0700
-Subject: [PATCH] xtensa: fix PR target/91880
-
-Xtensa hwloop_optimize segfaults when zero overhead loop is about to be
-inserted as the first instruction of the function.
-Insert zero overhead loop instruction into new basic block before the
-loop when basic block that precedes the loop is empty.
-
-2019-09-26 Max Filippov <jcmvbkbc@gmail.com>
-gcc/
- * config/xtensa/xtensa.c (hwloop_optimize): Insert zero overhead
- loop instruction into new basic block before the loop when basic
- block that precedes the loop is empty.
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
-Backported from: r276166
-
- gcc/config/xtensa/xtensa.c | 5 ++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c
-index ee5612441e25..2527468d57db 100644
---- a/gcc/config/xtensa/xtensa.c
-+++ b/gcc/config/xtensa/xtensa.c
-@@ -4232,7 +4232,9 @@ hwloop_optimize (hwloop_info loop)
-
- seq = get_insns ();
-
-- if (!single_succ_p (entry_bb) || vec_safe_length (loop->incoming) > 1)
-+ entry_after = BB_END (entry_bb);
-+ if (!single_succ_p (entry_bb) || vec_safe_length (loop->incoming) > 1
-+ || !entry_after)
- {
- basic_block new_bb;
- edge e;
-@@ -4253,7 +4255,6 @@ hwloop_optimize (hwloop_info loop)
- }
- else
- {
-- entry_after = BB_END (entry_bb);
- while (DEBUG_INSN_P (entry_after)
- || (NOTE_P (entry_after)
- && NOTE_KIND (entry_after) != NOTE_INSN_BASIC_BLOCK))
---
-2.11.0
-
diff --git a/toolchain/gcc/patches/8.4.0/add-crtreloc.frv b/toolchain/gcc/patches/8.5.0/add-crtreloc.frv
index 30de24cdc..30de24cdc 100644
--- a/toolchain/gcc/patches/8.4.0/add-crtreloc.frv
+++ b/toolchain/gcc/patches/8.5.0/add-crtreloc.frv
diff --git a/toolchain/gcc/patches/8.4.0/c6x-disable-multilib.patch b/toolchain/gcc/patches/8.5.0/c6x-disable-multilib.patch
index cbee6f785..cbee6f785 100644
--- a/toolchain/gcc/patches/8.4.0/c6x-disable-multilib.patch
+++ b/toolchain/gcc/patches/8.5.0/c6x-disable-multilib.patch
diff --git a/toolchain/gcc/patches/8.4.0/ia64-fix-libgcc.patch b/toolchain/gcc/patches/8.5.0/ia64-fix-libgcc.patch
index f1f3c8d2d..f1f3c8d2d 100644
--- a/toolchain/gcc/patches/8.4.0/ia64-fix-libgcc.patch
+++ b/toolchain/gcc/patches/8.5.0/ia64-fix-libgcc.patch
diff --git a/toolchain/gcc/patches/8.4.0/j2.patch b/toolchain/gcc/patches/8.5.0/j2.patch
index aafbe0ea9..aafbe0ea9 100644
--- a/toolchain/gcc/patches/8.4.0/j2.patch
+++ b/toolchain/gcc/patches/8.5.0/j2.patch
diff --git a/toolchain/gcc/patches/8.4.0/m68k-musl.patch b/toolchain/gcc/patches/8.5.0/m68k-musl.patch
index a7effec4c..a7effec4c 100644
--- a/toolchain/gcc/patches/8.4.0/m68k-musl.patch
+++ b/toolchain/gcc/patches/8.5.0/m68k-musl.patch
diff --git a/toolchain/gcc/patches/8.4.0/musl-s390x.patch b/toolchain/gcc/patches/8.5.0/musl-s390x.patch
index 1163bdbf4..1163bdbf4 100644
--- a/toolchain/gcc/patches/8.4.0/musl-s390x.patch
+++ b/toolchain/gcc/patches/8.5.0/musl-s390x.patch
diff --git a/toolchain/gcc/patches/8.4.0/nios2-softfp.patch b/toolchain/gcc/patches/8.5.0/nios2-softfp.patch
index c677c6c2f..c677c6c2f 100644
--- a/toolchain/gcc/patches/8.4.0/nios2-softfp.patch
+++ b/toolchain/gcc/patches/8.5.0/nios2-softfp.patch
diff --git a/toolchain/gcc/patches/9.3.0/or1k.patch b/toolchain/gcc/patches/9.4.0/or1k.patch
index 8ec5ec956..8ec5ec956 100644
--- a/toolchain/gcc/patches/9.3.0/or1k.patch
+++ b/toolchain/gcc/patches/9.4.0/or1k.patch