summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-12-07 08:33:35 (GMT)
committerAlexey Neyman <stilor@att.net>2018-12-07 08:33:35 (GMT)
commitfaa78497823e933b1bec477e2ccb1251a0ab5a7b (patch)
tree417e4472dc285d1a71dcf21da3cf45366ac2b8be /packages
parent4c2c2315dfaefc7261f12fbbbf4ce5639dad94a2 (diff)
Import GCC 7.4.0
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages')
-rw-r--r--packages/gcc/7.3.0/0020-xtensa-libgcc-literal_position.patch28
-rw-r--r--packages/gcc/7.3.0/0021-msp430-fix.patch98
-rw-r--r--packages/gcc/7.3.0/0022-xtensa-fix-PR-target-65416.patch96
-rw-r--r--packages/gcc/7.3.0/chksum8
-rw-r--r--packages/gcc/7.4.0/0000-libtool-leave-framework-alone.patch (renamed from packages/gcc/7.3.0/0000-libtool-leave-framework-alone.patch)0
-rw-r--r--packages/gcc/7.4.0/0001-uclibc-conf.patch (renamed from packages/gcc/7.3.0/0001-uclibc-conf.patch)0
-rw-r--r--packages/gcc/7.4.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (renamed from packages/gcc/7.3.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch)6
-rw-r--r--packages/gcc/7.4.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch (renamed from packages/gcc/7.3.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch)0
-rw-r--r--packages/gcc/7.4.0/0004-arm-softfloat-libgcc.patch (renamed from packages/gcc/7.3.0/0004-arm-softfloat-libgcc.patch)0
-rw-r--r--packages/gcc/7.4.0/0005-cilk-wchar.patch (renamed from packages/gcc/7.3.0/0005-cilk-wchar.patch)0
-rw-r--r--packages/gcc/7.4.0/0006-fix-m68k-uclinux.patch (renamed from packages/gcc/7.3.0/0006-fix-m68k-uclinux.patch)0
-rw-r--r--packages/gcc/7.4.0/0007-libgfortran-missing-include.patch (renamed from packages/gcc/7.3.0/0007-libgfortran-missing-include.patch)6
-rw-r--r--packages/gcc/7.4.0/0008-nios2-bad-multilib-default.patch (renamed from packages/gcc/7.3.0/0008-nios2-bad-multilib-default.patch)0
-rw-r--r--packages/gcc/7.4.0/0009-libgcc-disable-split-stack-nothreads.patch (renamed from packages/gcc/7.3.0/0009-libgcc-disable-split-stack-nothreads.patch)0
-rw-r--r--packages/gcc/7.4.0/0010-bionic-ndk.patch (renamed from packages/gcc/7.3.0/0010-bionic-ndk.patch)0
-rw-r--r--packages/gcc/7.4.0/0011-bionic-errno.patch (renamed from packages/gcc/7.3.0/0011-bionic-errno.patch)0
-rw-r--r--packages/gcc/7.4.0/0012-crystax.patch (renamed from packages/gcc/7.3.0/0012-crystax.patch)14
-rw-r--r--packages/gcc/7.4.0/0013-crystax.patch (renamed from packages/gcc/7.3.0/0013-crystax.patch)0
-rw-r--r--packages/gcc/7.4.0/0014-crystax.patch (renamed from packages/gcc/7.3.0/0014-crystax.patch)4
-rw-r--r--packages/gcc/7.4.0/0015-crystax.patch (renamed from packages/gcc/7.3.0/0015-crystax.patch)2
-rw-r--r--packages/gcc/7.4.0/0016-crystax.patch (renamed from packages/gcc/7.3.0/0016-crystax.patch)0
-rw-r--r--packages/gcc/7.4.0/0017-crystax.patch (renamed from packages/gcc/7.3.0/0017-crystax.patch)2
-rw-r--r--packages/gcc/7.4.0/0018-crystax.patch (renamed from packages/gcc/7.3.0/0018-crystax.patch)0
-rw-r--r--packages/gcc/7.4.0/0019-crystax.patch (renamed from packages/gcc/7.3.0/0019-crystax.patch)0
-rw-r--r--packages/gcc/7.4.0/0020-isl-0.20.patch (renamed from packages/gcc/7.3.0/0023-isl-0.20.patch)0
-rw-r--r--packages/gcc/7.4.0/chksum8
-rw-r--r--packages/gcc/7.4.0/version.desc (renamed from packages/gcc/7.3.0/version.desc)0
27 files changed, 25 insertions, 247 deletions
diff --git a/packages/gcc/7.3.0/0020-xtensa-libgcc-literal_position.patch b/packages/gcc/7.3.0/0020-xtensa-libgcc-literal_position.patch
deleted file mode 100644
index fc7f082..0000000
--- a/packages/gcc/7.3.0/0020-xtensa-libgcc-literal_position.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-libgcc: xtensa: fix build with -mtext-section-literals
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
- libgcc/config/xtensa/ieee754-df.S | 1 +
- libgcc/config/xtensa/ieee754-sf.S | 1 +
- 2 files changed, 2 insertions(+)
-
---- a/libgcc/config/xtensa/ieee754-sf.S
-+++ b/libgcc/config/xtensa/ieee754-sf.S
-@@ -55,6 +55,7 @@
-
- #ifdef L_addsubsf3
-
-+ .literal_position
- /* Addition */
- __addsf3_aux:
-
---- a/libgcc/config/xtensa/ieee754-df.S
-+++ b/libgcc/config/xtensa/ieee754-df.S
-@@ -55,6 +55,7 @@
-
- #ifdef L_addsubdf3
-
-+ .literal_position
- /* Addition */
- __adddf3_aux:
-
diff --git a/packages/gcc/7.3.0/0021-msp430-fix.patch b/packages/gcc/7.3.0/0021-msp430-fix.patch
deleted file mode 100644
index 1afadf2..0000000
--- a/packages/gcc/7.3.0/0021-msp430-fix.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-commit dff73565df46267296c9bee0589e1f106a07a5e2
-Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Wed Feb 14 07:21:11 2018 +0000
-
- 2018-02-14 Jozef Lawrynowicz <jozefl.gcc@gmail.com>
-
- PR target/79242
- * machmode.def: Define a complex mode for PARTIAL_INT.
- * genmodes.c (complex_class): Return MODE_COMPLEX_INT for
- MODE_PARTIAL_INT.
- * doc/rtl.texi: Document CSPImode.
- * config/msp430/msp430.c (msp430_hard_regno_nregs): Add CPSImode
- handling.
- (msp430_hard_regno_nregs_with_padding): Likewise.
-
- PR target/79242
- * gcc.target/msp430/pr79242.c: New test.
-
- git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257653 138bc75d-0d04-0410-961f-82ee72b054a4
-
----
- gcc/config/msp430/msp430.c | 4 ++++
- gcc/doc/rtl.texi | 5 +++--
- gcc/genmodes.c | 1 +
- gcc/machmode.def | 1 +
- gcc/testsuite/gcc.target/msp430/pr79242.c | 11 +++++++++++
- 5 files changed, 20 insertions(+), 2 deletions(-)
-
---- a/gcc/config/msp430/msp430.c
-+++ b/gcc/config/msp430/msp430.c
-@@ -916,6 +916,8 @@
- {
- if (mode == PSImode && msp430x)
- return 1;
-+ if (mode == CPSImode && msp430x)
-+ return 2;
- return ((GET_MODE_SIZE (mode) + UNITS_PER_WORD - 1)
- / UNITS_PER_WORD);
- }
-@@ -927,6 +929,8 @@
- {
- if (mode == PSImode)
- return 2;
-+ if (mode == CPSImode)
-+ return 4;
- return msp430_hard_regno_nregs (regno, mode);
- }
-
---- a/gcc/doc/rtl.texi
-+++ b/gcc/doc/rtl.texi
-@@ -1291,10 +1291,11 @@
- @findex CDImode
- @findex CTImode
- @findex COImode
--@item CQImode, CHImode, CSImode, CDImode, CTImode, COImode
-+@findex CPSImode
-+@item CQImode, CHImode, CSImode, CDImode, CTImode, COImode, CPSImode
- These modes stand for a complex number represented as a pair of integer
- values. The integer values are in @code{QImode}, @code{HImode},
--@code{SImode}, @code{DImode}, @code{TImode}, and @code{OImode},
-+@code{SImode}, @code{DImode}, @code{TImode}, @code{OImode}, and @code{PSImode},
- respectively.
-
- @findex BND32mode
---- a/gcc/genmodes.c
-+++ b/gcc/genmodes.c
-@@ -116,6 +116,7 @@
- switch (c)
- {
- case MODE_INT: return MODE_COMPLEX_INT;
-+ case MODE_PARTIAL_INT: return MODE_COMPLEX_INT;
- case MODE_FLOAT: return MODE_COMPLEX_FLOAT;
- default:
- error ("no complex class for class %s", mode_class_names[c]);
---- a/gcc/machmode.def
-+++ b/gcc/machmode.def
-@@ -243,6 +243,7 @@
-
- /* Complex modes. */
- COMPLEX_MODES (INT);
-+COMPLEX_MODES (PARTIAL_INT);
- COMPLEX_MODES (FLOAT);
-
- /* Decimal floating point modes. */
---- /dev/null
-+++ b/gcc/testsuite/gcc.target/msp430/pr79242.c
-@@ -0,0 +1,11 @@
-+/* { dg-do compile } */
-+/* { dg-skip-if "" { "*-*-*" } { "-mcpu=msp430" "-msmall" } { "" } } */
-+/* { dg-options "-mcpu=msp430x" } */
-+
-+typedef _Complex __int20 C;
-+
-+C
-+foo (C x, C y)
-+{
-+ return x + y;
-+}
diff --git a/packages/gcc/7.3.0/0022-xtensa-fix-PR-target-65416.patch b/packages/gcc/7.3.0/0022-xtensa-fix-PR-target-65416.patch
deleted file mode 100644
index 37dc7f8..0000000
--- a/packages/gcc/7.3.0/0022-xtensa-fix-PR-target-65416.patch
+++ /dev/null
@@ -1,96 +0,0 @@
-From 213fda1983bc80fbcc738ecd841a60a078f52111 Mon Sep 17 00:00:00 2001
-From: jcmvbkbc <jcmvbkbc@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Tue, 19 Jun 2018 18:26:07 +0000
-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 <jcmvbkbc@gmail.com>
-
- * config/xtensa/xtensa.md (UNSPEC_FRAME_BLOCKAGE): New unspec
- constant.
- (allocate_stack, frame_blockage, *frame_blockage): New patterns.
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261755 138bc75d-0d04-0410-961f-82ee72b054a4
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
- gcc/config/xtensa/xtensa.md | 46 ++++++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 46 insertions(+)
-
---- 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))]
- ""
diff --git a/packages/gcc/7.3.0/chksum b/packages/gcc/7.3.0/chksum
deleted file mode 100644
index c2604f0..0000000
--- a/packages/gcc/7.3.0/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 gcc-7.3.0.tar.xz be2da21680f27624f3a87055c4ba5af2
-sha1 gcc-7.3.0.tar.xz 9689b9cae7b2886fdaa08449a26701f095c04e48
-sha256 gcc-7.3.0.tar.xz 832ca6ae04636adbb430e865a1451adf6979ab44ca1c8374f61fba65645ce15c
-sha512 gcc-7.3.0.tar.xz ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19c19921b0cdf6d05483faede8287bb9ea120c0d1559449a70e602c8d4
-md5 gcc-7.3.0.tar.gz 747d5010b7c6938b480bc6e4d7c4be9a
-sha1 gcc-7.3.0.tar.gz 8f11c52db81c30a1780c590bb7ab9a6e326ccea4
-sha256 gcc-7.3.0.tar.gz fa06e455ca198ddc11ea4ddf2a394cf7cfb66aa7e0ab98cc1184189f1d405870
-sha512 gcc-7.3.0.tar.gz 4e203f4ea5e8713e7b0e3d2a269f7a54f6d1074d572b93d39ed6961c82b3c310f389d7f78494f58309b7436d1e0744eba06c22a24747000dfd84e2b4376cbf73
diff --git a/packages/gcc/7.3.0/0000-libtool-leave-framework-alone.patch b/packages/gcc/7.4.0/0000-libtool-leave-framework-alone.patch
index 1a86e41..1a86e41 100644
--- a/packages/gcc/7.3.0/0000-libtool-leave-framework-alone.patch
+++ b/packages/gcc/7.4.0/0000-libtool-leave-framework-alone.patch
diff --git a/packages/gcc/7.3.0/0001-uclibc-conf.patch b/packages/gcc/7.4.0/0001-uclibc-conf.patch
index aef750a..aef750a 100644
--- a/packages/gcc/7.3.0/0001-uclibc-conf.patch
+++ b/packages/gcc/7.4.0/0001-uclibc-conf.patch
diff --git a/packages/gcc/7.3.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch b/packages/gcc/7.4.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
index 44874a7..8d40620 100644
--- a/packages/gcc/7.3.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
+++ b/packages/gcc/7.4.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
@@ -53,7 +53,7 @@
if test x"$have_pic_shared" != x"yes" -o x"$ac_cv_search_dlopen" = x"no"; then
--- a/gcc/configure
+++ b/gcc/configure
-@@ -29510,6 +29510,9 @@
+@@ -29520,6 +29520,9 @@
pluginlibs=
@@ -63,7 +63,7 @@
case "${host}" in
*-*-darwin*)
if test x$build = x$host; then
-@@ -29520,6 +29523,11 @@
+@@ -29530,6 +29533,11 @@
export_sym_check=
fi
;;
@@ -75,7 +75,7 @@
*)
if test x$build = x$host; then
export_sym_check="objdump${exeext} -T"
-@@ -29632,23 +29640,23 @@
+@@ -29642,23 +29650,23 @@
case "${host}" in
*-*-darwin*)
CFLAGS=`echo $CFLAGS | sed s/-mdynamic-no-pic//g`
diff --git a/packages/gcc/7.3.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc/7.4.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
index 5f9a07a..5f9a07a 100644
--- a/packages/gcc/7.3.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
+++ b/packages/gcc/7.4.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
diff --git a/packages/gcc/7.3.0/0004-arm-softfloat-libgcc.patch b/packages/gcc/7.4.0/0004-arm-softfloat-libgcc.patch
index d980036..d980036 100644
--- a/packages/gcc/7.3.0/0004-arm-softfloat-libgcc.patch
+++ b/packages/gcc/7.4.0/0004-arm-softfloat-libgcc.patch
diff --git a/packages/gcc/7.3.0/0005-cilk-wchar.patch b/packages/gcc/7.4.0/0005-cilk-wchar.patch
index d2230cd..d2230cd 100644
--- a/packages/gcc/7.3.0/0005-cilk-wchar.patch
+++ b/packages/gcc/7.4.0/0005-cilk-wchar.patch
diff --git a/packages/gcc/7.3.0/0006-fix-m68k-uclinux.patch b/packages/gcc/7.4.0/0006-fix-m68k-uclinux.patch
index 28b0f3d..28b0f3d 100644
--- a/packages/gcc/7.3.0/0006-fix-m68k-uclinux.patch
+++ b/packages/gcc/7.4.0/0006-fix-m68k-uclinux.patch
diff --git a/packages/gcc/7.3.0/0007-libgfortran-missing-include.patch b/packages/gcc/7.4.0/0007-libgfortran-missing-include.patch
index 701e7b4..16af6ac 100644
--- a/packages/gcc/7.3.0/0007-libgfortran-missing-include.patch
+++ b/packages/gcc/7.4.0/0007-libgfortran-missing-include.patch
@@ -9,6 +9,6 @@
#include "unix.h"
#include <limits.h>
+#include <stdlib.h>
-
- typedef enum
- { CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }
+ #if !HAVE_UNLINK_OPEN_FILE
+ #include <string.h>
+ #endif
diff --git a/packages/gcc/7.3.0/0008-nios2-bad-multilib-default.patch b/packages/gcc/7.4.0/0008-nios2-bad-multilib-default.patch
index 4acc491..4acc491 100644
--- a/packages/gcc/7.3.0/0008-nios2-bad-multilib-default.patch
+++ b/packages/gcc/7.4.0/0008-nios2-bad-multilib-default.patch
diff --git a/packages/gcc/7.3.0/0009-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/7.4.0/0009-libgcc-disable-split-stack-nothreads.patch
index df91a9f..df91a9f 100644
--- a/packages/gcc/7.3.0/0009-libgcc-disable-split-stack-nothreads.patch
+++ b/packages/gcc/7.4.0/0009-libgcc-disable-split-stack-nothreads.patch
diff --git a/packages/gcc/7.3.0/0010-bionic-ndk.patch b/packages/gcc/7.4.0/0010-bionic-ndk.patch
index 474dd8c..474dd8c 100644
--- a/packages/gcc/7.3.0/0010-bionic-ndk.patch
+++ b/packages/gcc/7.4.0/0010-bionic-ndk.patch
diff --git a/packages/gcc/7.3.0/0011-bionic-errno.patch b/packages/gcc/7.4.0/0011-bionic-errno.patch
index 0a1a632..0a1a632 100644
--- a/packages/gcc/7.3.0/0011-bionic-errno.patch
+++ b/packages/gcc/7.4.0/0011-bionic-errno.patch
diff --git a/packages/gcc/7.3.0/0012-crystax.patch b/packages/gcc/7.4.0/0012-crystax.patch
index 3015e7c..d67118c 100644
--- a/packages/gcc/7.3.0/0012-crystax.patch
+++ b/packages/gcc/7.4.0/0012-crystax.patch
@@ -52,7 +52,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
esac
aarch64_multilibs="${with_multilib_list}"
if test "$aarch64_multilibs" = "default"; then
-@@ -2092,6 +2096,17 @@
+@@ -2094,6 +2098,17 @@
tm_file="dbxelf.h elfos.h gnu-user.h linux.h linux-android.h glibc-stdint.h ${tm_file} mips/gnu-user.h mips/linux.h mips/linux-common.h"
extra_options="${extra_options} linux-android.opt"
case ${target} in
@@ -152,7 +152,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
-@@ -1876,10 +1876,11 @@
+@@ -1879,10 +1879,11 @@
#define CASE_VECTOR_PC_RELATIVE (TARGET_THUMB2 \
|| (TARGET_THUMB1 \
@@ -167,7 +167,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
: min >= -256 && max < 256 \
--- a/gcc/config/arm/arm.md
+++ b/gcc/config/arm/arm.md
-@@ -8668,7 +8668,7 @@
+@@ -8665,7 +8665,7 @@
(match_operand:SI 2 "const_int_operand" "") ; total range
(match_operand:SI 3 "" "") ; table label
(match_operand:SI 4 "" "")] ; Out of range label
@@ -253,8 +253,8 @@ Date: Wed Jul 29 11:28:29 2015 +0300
+
#undef ASM_SPEC
#define ASM_SPEC \
-- "--32 %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
-+ "--32 %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}} " \
+- "--32 %{msse2avx:%{!mavx:-msse2avx}}"
++ "--32 %{msse2avx:%{!mavx:-msse2avx}} " \
+ LINUX_OR_ANDROID_CC ("", ANDROID_ASM_SPEC)
#undef SUBTARGET_EXTRA_SPECS
@@ -445,7 +445,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
#if ((defined(_LIBOBJC) || defined(_LIBOBJC_WEAK)) \
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
-@@ -78536,6 +78536,12 @@
+@@ -78577,6 +78577,12 @@
/* end confdefs.h. */
#include <sys/syscall.h>
int lk;
@@ -458,7 +458,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300
int
main ()
{
-@@ -78594,6 +78600,12 @@
+@@ -78635,6 +78641,12 @@
/* end confdefs.h. */
#include <sys/syscall.h>
int lk;
diff --git a/packages/gcc/7.3.0/0013-crystax.patch b/packages/gcc/7.4.0/0013-crystax.patch
index f1f9eb1..f1f9eb1 100644
--- a/packages/gcc/7.3.0/0013-crystax.patch
+++ b/packages/gcc/7.4.0/0013-crystax.patch
diff --git a/packages/gcc/7.3.0/0014-crystax.patch b/packages/gcc/7.4.0/0014-crystax.patch
index 923487d..910ccd4 100644
--- a/packages/gcc/7.3.0/0014-crystax.patch
+++ b/packages/gcc/7.4.0/0014-crystax.patch
@@ -145,7 +145,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
--enable-linker-build-id
compiler will always pass --build-id to linker
--enable-default-ssp enable Stack Smashing Protection as default
-@@ -28082,6 +28086,38 @@
+@@ -28092,6 +28096,38 @@
$as_echo "#define HAVE_LD_EH_FRAME_HDR 1" >>confdefs.h
@@ -186,7 +186,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700
$as_echo "$gcc_cv_ld_eh_frame_hdr" >&6; }
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
-@@ -4986,6 +4986,35 @@
+@@ -4994,6 +4994,35 @@
if test x"$gcc_cv_ld_eh_frame_hdr" = xyes; then
AC_DEFINE(HAVE_LD_EH_FRAME_HDR, 1,
[Define if your linker supports .eh_frame_hdr.])
diff --git a/packages/gcc/7.3.0/0015-crystax.patch b/packages/gcc/7.4.0/0015-crystax.patch
index bf0e037..813240f 100644
--- a/packages/gcc/7.3.0/0015-crystax.patch
+++ b/packages/gcc/7.4.0/0015-crystax.patch
@@ -12,7 +12,7 @@ Date: Thu Aug 20 19:11:07 2015 +0300
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
-@@ -16113,6 +16113,7 @@
+@@ -16116,6 +16116,7 @@
else if (!SYMBOL_REF_FAR_ADDR_P (op0)
&& (SYMBOL_REF_LOCAL_P (op0)
|| (HAVE_LD_PIE_COPYRELOC
diff --git a/packages/gcc/7.3.0/0016-crystax.patch b/packages/gcc/7.4.0/0016-crystax.patch
index 8f2eb43..8f2eb43 100644
--- a/packages/gcc/7.3.0/0016-crystax.patch
+++ b/packages/gcc/7.4.0/0016-crystax.patch
diff --git a/packages/gcc/7.3.0/0017-crystax.patch b/packages/gcc/7.4.0/0017-crystax.patch
index 51fad85..a466094 100644
--- a/packages/gcc/7.3.0/0017-crystax.patch
+++ b/packages/gcc/7.4.0/0017-crystax.patch
@@ -15,7 +15,7 @@ Date: Mon Apr 14 21:05:51 2014 -0700
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
-@@ -22292,9 +22292,13 @@
+@@ -22312,9 +22312,13 @@
memsize = MEM_SIZE (x);
/* Only certain alignment specifiers are supported by the hardware. */
diff --git a/packages/gcc/7.3.0/0018-crystax.patch b/packages/gcc/7.4.0/0018-crystax.patch
index 8c21a1c..8c21a1c 100644
--- a/packages/gcc/7.3.0/0018-crystax.patch
+++ b/packages/gcc/7.4.0/0018-crystax.patch
diff --git a/packages/gcc/7.3.0/0019-crystax.patch b/packages/gcc/7.4.0/0019-crystax.patch
index ccb81fd..ccb81fd 100644
--- a/packages/gcc/7.3.0/0019-crystax.patch
+++ b/packages/gcc/7.4.0/0019-crystax.patch
diff --git a/packages/gcc/7.3.0/0023-isl-0.20.patch b/packages/gcc/7.4.0/0020-isl-0.20.patch
index 3e14966..3e14966 100644
--- a/packages/gcc/7.3.0/0023-isl-0.20.patch
+++ b/packages/gcc/7.4.0/0020-isl-0.20.patch
diff --git a/packages/gcc/7.4.0/chksum b/packages/gcc/7.4.0/chksum
new file mode 100644
index 0000000..e1c6a85
--- /dev/null
+++ b/packages/gcc/7.4.0/chksum
@@ -0,0 +1,8 @@
+md5 gcc-7.4.0.tar.xz 6e9d754638ff03d2e9b2aff55aed82b4
+sha1 gcc-7.4.0.tar.xz bf09553cfa08ae6e29dfbbd541e5c69c3cbc6c66
+sha256 gcc-7.4.0.tar.xz eddde28d04f334aec1604456e536416549e9b1aa137fc69204e65eb0c009fe51
+sha512 gcc-7.4.0.tar.xz 8864d8e4b97c2e1a4f17422f6e68120172ebefeab97b1757734f7185ca68a6b9a89011c6833c03fa454c17b0ac35b15e1d284881e6971035948ac6100f3aa45e
+md5 gcc-7.4.0.tar.gz 2f1f2df93e2777299b366070cd1b0ced
+sha1 gcc-7.4.0.tar.gz ebbaf0be68a22d30cd74cab67d38a056a3b86e5a
+sha256 gcc-7.4.0.tar.gz cb8df68237b0bea3307217697ad749a0a0565584da259e8a944ef6cfc4dc4d3d
+sha512 gcc-7.4.0.tar.gz 6824b5c8fdb3151d8dd517911d3d975f7808525f52db32b5c25e9354b562792d6d2f1e8cc5aa019ff250df65b4f29b43f65ab6d769a070fd0015b13a3a9d6bf9
diff --git a/packages/gcc/7.3.0/version.desc b/packages/gcc/7.4.0/version.desc
index e69de29..e69de29 100644
--- a/packages/gcc/7.3.0/version.desc
+++ b/packages/gcc/7.4.0/version.desc