package/gcc: bump to version 8.2.0
PATCH 1/1 package/gcc: bump to version 8.2.0
Remove upstream patches.
---
Build tested on gitlab:
https://gitlab.com/kubu93/toolchains-builder/pipelines/26588705
.../8.1.0/0004-xtensa-fix-PR-target-65416.patch | 101 ------
...-arm-PR-target-81497-Fix-arm_acle.h-for-C.patch | 305 ------------------
...ement-return-padding-operation-for-ARC700.patch | 355 ---------------------
.../gcc/{8.1.0 => 8.2.0}/0001-uclibc-conf.patch | 0
.../0002-arm-softfloat-libgcc.patch | 0
.../{8.1.0 => 8.2.0}/0003-remove-selftests.patch | 0
package/gcc/Config.in.host | 2 +-
package/gcc/gcc.hash | 4 +-
8 files changed, 3 insertions(+), 764 deletions(-)
delete mode 100644 package/gcc/8.1.0/0004-xtensa-fix-PR-target-65416.patch
delete mode 100644 package/gcc/8.1.0/0005-arm-PR-target-81497-Fix-arm_acle.h-for-C.patch
delete mode 100644 package/gcc/8.1.0/0006-ARC-Reimplement-return-padding-operation-for-ARC700.patch
rename package/gcc/{8.1.0 => 8.2.0}/0001-uclibc-conf.patch (100%)
rename package/gcc/{8.1.0 => 8.2.0}/0002-arm-softfloat-libgcc.patch (100%)
rename package/gcc/{8.1.0 => 8.2.0}/0003-remove-selftests.patch (100%)package/gcc/8.1.0/0004-xtensa-fix-PR-target-65416.patch deleted +0 -41
@@ -1,101 +0,0 @@ -From 87fda0741d210727672cba5e54a37a189e8ac04e Mon Sep 17 00:00:00 2001 -From: Max Filippov <[email protected]> -Date: Sun, 17 Jun 2018 21:18:39 -0700 -Subject: [PATCH] xtensa: fix PR target/65416 - -The issue is caused by reordering of stack pointer update after stack -space allocation with instructions that write to the allocated stack -space. In windowed ABI register spill area for the previous call frame -is located just below the stack pointer and may be reloaded back into -the register file on movsp. -Implement allocate_stack pattern for windowed ABI configuration and -insert an instruction that prevents reordering of frame memory access -and stack pointer update. - -gcc/ -2018-06-19 Max Filippov <[email protected]> - - * config/xtensa/xtensa.md (UNSPEC_FRAME_BLOCKAGE): New unspec - constant. - (allocate_stack, frame_blockage, *frame_blockage): New patterns. - -Signed-off-by: Max Filippov <[email protected]> -Backported from: r261755 ---- - gcc/config/xtensa/xtensa.md | 46 +++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 46 insertions(+) - -diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md -index 84967dbedc08..209f839cfb0f 100644 ---- a/gcc/config/xtensa/xtensa.md -+++ b/gcc/config/xtensa/xtensa.md -@@ -38,6 +38,7 @@ - (UNSPEC_MEMW 11) - (UNSPEC_LSETUP_START 12) - (UNSPEC_LSETUP_END 13) -+ (UNSPEC_FRAME_BLOCKAGE 14) - - (UNSPECV_SET_FP 1) - (UNSPECV_ENTRY 2) -@@ -1676,6 +1677,32 @@ -
- ;; Miscellaneous instructions.
-
-+;; In windowed ABI stack pointer adjustment must happen before any access -+;; to the space allocated on stack is allowed, otherwise register spill -+;; area may be clobbered. That's what frame blockage is supposed to enforce. -+
-+(define_expand "allocate_stack"
-+ [(set (match_operand 0 "nonimmed_operand")
-+ (minus (reg A1_REG) (match_operand 1 "add_operand")))
-+ (set (reg A1_REG)
-+ (minus (reg A1_REG) (match_dup 1)))]
-+ "TARGET_WINDOWED_ABI"
-+{
-+ if (CONST_INT_P (operands[1]))
-+ {
-+ rtx neg_op0 = GEN_INT (-INTVAL (operands[1]));
-+ emit_insn (gen_addsi3 (stack_pointer_rtx, stack_pointer_rtx, neg_op0));
-+ }
-+ else
-+ {
-+ emit_insn (gen_subsi3 (stack_pointer_rtx, stack_pointer_rtx,
-+ operands[1]));
-+ }
-+ emit_move_insn (operands[0], virtual_stack_dynamic_rtx); -+ emit_insn (gen_frame_blockage ()); -+ DONE;
-+})
-+
- (define_expand "prologue"
- [(const_int 0)]
- ""
-@@ -1767,6 +1794,25 @@
- [(set_attr "length" "0")
- (set_attr "type" "nop")])
-
-+;; Do not schedule instructions accessing memory before this point. -+
-+(define_expand "frame_blockage"
-+ [(set (match_dup 0)
-+ (unspec:BLK [(match_dup 1)] UNSPEC_FRAME_BLOCKAGE))]
-+ ""
-+{
-+ operands[0] = gen_rtx_MEM (BLKmode, gen_rtx_SCRATCH (Pmode)); -+ MEM_VOLATILE_P (operands[0]) = 1; -+ operands[1] = stack_pointer_rtx;
-+})
-+
-+(define_insn "*frame_blockage"
-+ [(set (match_operand:BLK 0 "" "")
-+ (unspec:BLK [(match_operand:SI 1 "" "")] UNSPEC_FRAME_BLOCKAGE))]
-+ "" -+ "" -+ [(set_attr "length" "0")])
-+
- (define_insn "trap"
- [(trap_if (const_int 1) (const_int 0))]
- ""
---
-2.11.0
-
package/gcc/8.1.0/0005-arm-PR-target-81497-Fix-arm_acle.h-for-C.patch deleted +0 -305
305 lines not on this page · raw message
package/gcc/8.1.0/0006-ARC-Reimplement-return-padding-operation-for-ARC700.patch deleted +0 -355
355 lines not on this page · raw message
package/gcc/8.2.0/0001-uclibc-conf.patch renamed from package/gcc/8.1.0/0001-uclibc-conf.patch +0 -0
package/gcc/8.2.0/0002-arm-softfloat-libgcc.patch renamed from package/gcc/8.1.0/0002-arm-softfloat-libgcc.patch +0 -0
package/gcc/8.2.0/0003-remove-selftests.patch renamed from package/gcc/8.1.0/0003-remove-selftests.patch +0 -0
package/gcc/Config.in.host +1 -1
@@ -80,7 +80,7 @@ config BR2_GCC_VERSION default "5.5.0" if BR2_GCC_VERSION_5_X default "6.4.0" if BR2_GCC_VERSION_6_X default "7.3.0" if BR2_GCC_VERSION_7_X - default "8.1.0" if BR2_GCC_VERSION_8_X + default "8.2.0" if BR2_GCC_VERSION_8_X default "arc-2018.03" if BR2_GCC_VERSION_ARC default "or1k-musl-5.4.0-20170218" if BR2_GCC_VERSION_OR1K
package/gcc/gcc.hash +2 -2
@@ -6,8 +6,8 @@ sha512 670ff52c2ae12c7852c12987e91798c5aa8bd6daf21f0d6e0cd57a4aa59cc4f06a837fe7 sha512 02c60e54527c7adf584798d5251f8a0b80c93d5deafce82501b2c28e6692e0bd783927bbfc4bc527a863c0cccc025150a34740a9e29badb02d4b48e56a8aba90 gcc-6.4.0.tar.xz # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-7.3.0/sha512.sum sha512 ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19c19921b0cdf6d05483faede8287bb9ea120c0d1559449a70e602c8d4 gcc-7.3.0.tar.xz -# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-8.1.0/sha512.sum -sha512 c96246f34a7aeb404c4525b754dc7f7708a18e06271aadb2b32fef00e6e0940f584e52430bfe2ab01e699c93e3cb418adc113d2622fa826facbec0ec8ce3eb2c gcc-8.1.0.tar.xz +# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-8.2.0/sha512.sum +sha512 64898a165f67e136d802a92e7633bf1b06c85266027e52127ea025bf5fc2291b5e858288aac0bdba246e6cdf7c6ec88bc8e0e7f3f6f1985f4297710cafde56ed gcc-8.2.0.tar.xz # Locally calculated (fetched from Github) sha512 7c6555d629957d154c9c0524fc2c82301c9ab9192f5b9175c47b1f2dde298ac032e86360d91866c3c4d001cf8e191a90dc88f3c900ebfc367c5888ab7bf2ce79 gcc-arc-2018.03.tar.gz
Signature · 1 line
2.14.4
Thomas Petazzoni
AppliedPATCH 1/1 package/gcc: bump to version 8.2.0
Hello,
Quoted 4 lines · Romain Naour
Remove upstream patches.
Signed-off-by Romain Naour <[email protected]>---
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com