From ff7f2c16bd45016c8d3f8aae4339e63c3d524259 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 25 Jun 2020 09:20:00 +0200 Subject: [PATCH] gcc: move patches around --- ...1-xtensa-backport-fix-for-PR-target-90922.patch | 43 ---------------------- .../0002-xtensa-fix-PR-target-91880.patch | 0 .../gcc/patches/{8.3.0 => 8.4.0}/add-crtreloc.frv | 0 .../{8.3.0 => 8.4.0}/c6x-disable-multilib.patch | 0 .../patches/{8.3.0 => 8.4.0}/ia64-fix-libgcc.patch | 0 toolchain/gcc/patches/{8.3.0 => 8.4.0}/j2.patch | 0 .../gcc/patches/{8.3.0 => 8.4.0}/m68k-musl.patch | 0 .../gcc/patches/{8.3.0 => 8.4.0}/musl-s390x.patch | 0 .../patches/{8.3.0 => 8.4.0}/nios2-softfp.patch | 0 9 files changed, 43 deletions(-) delete mode 100644 toolchain/gcc/patches/8.3.0/0001-xtensa-backport-fix-for-PR-target-90922.patch rename toolchain/gcc/patches/{8.3.0 => 8.4.0}/0002-xtensa-fix-PR-target-91880.patch (100%) rename toolchain/gcc/patches/{8.3.0 => 8.4.0}/add-crtreloc.frv (100%) rename toolchain/gcc/patches/{8.3.0 => 8.4.0}/c6x-disable-multilib.patch (100%) rename toolchain/gcc/patches/{8.3.0 => 8.4.0}/ia64-fix-libgcc.patch (100%) rename toolchain/gcc/patches/{8.3.0 => 8.4.0}/j2.patch (100%) rename toolchain/gcc/patches/{8.3.0 => 8.4.0}/m68k-musl.patch (100%) rename toolchain/gcc/patches/{8.3.0 => 8.4.0}/musl-s390x.patch (100%) rename toolchain/gcc/patches/{8.3.0 => 8.4.0}/nios2-softfp.patch (100%) diff --git a/toolchain/gcc/patches/8.3.0/0001-xtensa-backport-fix-for-PR-target-90922.patch b/toolchain/gcc/patches/8.3.0/0001-xtensa-backport-fix-for-PR-target-90922.patch deleted file mode 100644 index c961ce5d2..000000000 --- a/toolchain/gcc/patches/8.3.0/0001-xtensa-backport-fix-for-PR-target-90922.patch +++ /dev/null @@ -1,43 +0,0 @@ -From a592242578e573778241cae6d3928c064dcdfda4 Mon Sep 17 00:00:00 2001 -From: jcmvbkbc -Date: Tue, 18 Jun 2019 22:19:12 +0000 -Subject: [PATCH] xtensa: fix for PR target/90922 - -Stack pointer adjustment code in prologue missed a case of no -callee-saved registers and a stack frame size bigger than 128 bytes. -Handle that case. - -This fixes the following gcc tests with call0 ABI: - gcc.c-torture/execute/stdarg-2.c - gcc.dg/torture/pr55882.c - gcc.dg/torture/pr57569.c - -gcc/ -2019-06-18 Max Filippov - - * config/xtensa/xtensa.c (xtensa_expand_prologue): Add stack - pointer adjustment for the case of no callee-saved registers and - stack frame bigger than 128 bytes. - -Signed-off-by: Max Filippov ---- - gcc/config/xtensa/xtensa.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c -index 19bd616d67f6..ee5612441e25 100644 ---- a/gcc/config/xtensa/xtensa.c -+++ b/gcc/config/xtensa/xtensa.c -@@ -2862,7 +2862,8 @@ xtensa_expand_prologue (void) - gen_rtx_SET (mem, reg)); - } - } -- if (total_size > 1024) -+ if (total_size > 1024 -+ || (!callee_save_size && total_size > 128)) - { - rtx tmp_reg = gen_rtx_REG (Pmode, A9_REG); - emit_move_insn (tmp_reg, GEN_INT (total_size - --- -2.11.0 - diff --git a/toolchain/gcc/patches/8.3.0/0002-xtensa-fix-PR-target-91880.patch b/toolchain/gcc/patches/8.4.0/0002-xtensa-fix-PR-target-91880.patch similarity index 100% rename from toolchain/gcc/patches/8.3.0/0002-xtensa-fix-PR-target-91880.patch rename to toolchain/gcc/patches/8.4.0/0002-xtensa-fix-PR-target-91880.patch diff --git a/toolchain/gcc/patches/8.3.0/add-crtreloc.frv b/toolchain/gcc/patches/8.4.0/add-crtreloc.frv similarity index 100% rename from toolchain/gcc/patches/8.3.0/add-crtreloc.frv rename to toolchain/gcc/patches/8.4.0/add-crtreloc.frv diff --git a/toolchain/gcc/patches/8.3.0/c6x-disable-multilib.patch b/toolchain/gcc/patches/8.4.0/c6x-disable-multilib.patch similarity index 100% rename from toolchain/gcc/patches/8.3.0/c6x-disable-multilib.patch rename to toolchain/gcc/patches/8.4.0/c6x-disable-multilib.patch diff --git a/toolchain/gcc/patches/8.3.0/ia64-fix-libgcc.patch b/toolchain/gcc/patches/8.4.0/ia64-fix-libgcc.patch similarity index 100% rename from toolchain/gcc/patches/8.3.0/ia64-fix-libgcc.patch rename to toolchain/gcc/patches/8.4.0/ia64-fix-libgcc.patch diff --git a/toolchain/gcc/patches/8.3.0/j2.patch b/toolchain/gcc/patches/8.4.0/j2.patch similarity index 100% rename from toolchain/gcc/patches/8.3.0/j2.patch rename to toolchain/gcc/patches/8.4.0/j2.patch diff --git a/toolchain/gcc/patches/8.3.0/m68k-musl.patch b/toolchain/gcc/patches/8.4.0/m68k-musl.patch similarity index 100% rename from toolchain/gcc/patches/8.3.0/m68k-musl.patch rename to toolchain/gcc/patches/8.4.0/m68k-musl.patch diff --git a/toolchain/gcc/patches/8.3.0/musl-s390x.patch b/toolchain/gcc/patches/8.4.0/musl-s390x.patch similarity index 100% rename from toolchain/gcc/patches/8.3.0/musl-s390x.patch rename to toolchain/gcc/patches/8.4.0/musl-s390x.patch diff --git a/toolchain/gcc/patches/8.3.0/nios2-softfp.patch b/toolchain/gcc/patches/8.4.0/nios2-softfp.patch similarity index 100% rename from toolchain/gcc/patches/8.3.0/nios2-softfp.patch rename to toolchain/gcc/patches/8.4.0/nios2-softfp.patch -- 2.11.4.GIT