diff options
author | Alexey Neyman <stilor@att.net> | 2018-11-07 23:46:35 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-11-07 23:46:35 -0800 |
commit | 48fa32776e3a9645d166f10608a8db81307cfb0a (patch) | |
tree | f938ce19fb1d8a377441af14a32983ff6f82ff15 /packages/gcc | |
parent | eabb3ec189cb872cfb6201c572bc58c3df4b8771 (diff) | |
download | crosstool-ng-48fa32776e3a9645d166f10608a8db81307cfb0a.tar.gz crosstool-ng-48fa32776e3a9645d166f10608a8db81307cfb0a.tar.bz2 crosstool-ng-48fa32776e3a9645d166f10608a8db81307cfb0a.zip |
Import gcc 6.5.0
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/gcc')
-rw-r--r-- | packages/gcc/6.4.0/0000-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch | 165 | ||||
-rw-r--r-- | packages/gcc/6.4.0/0010-xtensa-fix-PR-target-82181.patch | 26 | ||||
-rw-r--r-- | packages/gcc/6.4.0/0032-xtensa-fix-PR-target-65416.patch | 96 | ||||
-rw-r--r-- | packages/gcc/6.4.0/chksum | 8 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0000-libtool-leave-framework-alone.patch (renamed from packages/gcc/6.4.0/0001-libtool-leave-framework-alone.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0001-uclibc-conf.patch (renamed from packages/gcc/6.4.0/0002-uclibc-conf.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0002-missing-execinfo_h.patch (renamed from packages/gcc/6.4.0/0003-missing-execinfo_h.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0003-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (renamed from packages/gcc/6.4.0/0004-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch) | 6 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0004-gcc-plugin-POSIX-include-sys-select-h.patch (renamed from packages/gcc/6.4.0/0005-gcc-plugin-POSIX-include-sys-select-h.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0005-arm-softfloat-libgcc.patch (renamed from packages/gcc/6.4.0/0006-arm-softfloat-libgcc.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0006-arm_unbreak_armv4t.patch (renamed from packages/gcc/6.4.0/0007-arm_unbreak_armv4t.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0007-ARM-PR-target-70473-Reduce-size-of-Cortex-A8-automat.patch (renamed from packages/gcc/6.4.0/0008-ARM-PR-target-70473-Reduce-size-of-Cortex-A8-automat.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0008-cilk-wchar.patch (renamed from packages/gcc/6.4.0/0009-cilk-wchar.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0009-fix-m68k-compile.patch (renamed from packages/gcc/6.4.0/0011-fix-m68k-compile.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0010-fix-m68k-uclinux.patch (renamed from packages/gcc/6.4.0/0012-fix-m68k-uclinux.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0011-libgcc-mkmap-symver-support-skip_underscore.patch (renamed from packages/gcc/6.4.0/0013-libgcc-mkmap-symver-support-skip_underscore.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0012-libgcc-config-bfin-use-the-generic-linker-version-in.patch (renamed from packages/gcc/6.4.0/0014-libgcc-config-bfin-use-the-generic-linker-version-in.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0013-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch (renamed from packages/gcc/6.4.0/0015-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0014-bfin-define-REENTRANT.patch (renamed from packages/gcc/6.4.0/0016-bfin-define-REENTRANT.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0015-libgfortran-missing-include.patch (renamed from packages/gcc/6.4.0/0017-libgfortran-missing-include.patch) | 6 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0016-nios2-bad-multilib-default.patch (renamed from packages/gcc/6.4.0/0018-nios2-bad-multilib-default.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0017-libgcc-disable-split-stack-nothreads.patch (renamed from packages/gcc/6.4.0/0019-libgcc-disable-split-stack-nothreads.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0018-uclinux-enable-threads.patch (renamed from packages/gcc/6.4.0/0020-uclinux-enable-threads.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0019-bionic-ndk.patch (renamed from packages/gcc/6.4.0/0021-bionic-ndk.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0020-bionic-errno.patch (renamed from packages/gcc/6.4.0/0022-bionic-errno.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0021-crystax.patch (renamed from packages/gcc/6.4.0/0023-crystax.patch) | 21 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0022-crystax.patch (renamed from packages/gcc/6.4.0/0024-crystax.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0023-crystax.patch (renamed from packages/gcc/6.4.0/0025-crystax.patch) | 10 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0024-crystax.patch (renamed from packages/gcc/6.4.0/0026-crystax.patch) | 2 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0025-crystax.patch (renamed from packages/gcc/6.4.0/0027-crystax.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0026-crystax.patch (renamed from packages/gcc/6.4.0/0028-crystax.patch) | 2 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0027-crystax.patch (renamed from packages/gcc/6.4.0/0029-crystax.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0028-crystax.patch (renamed from packages/gcc/6.4.0/0030-crystax.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0029-msp430-fix.patch (renamed from packages/gcc/6.4.0/0031-msp430-fix.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/0030-isl-0.20.patch (renamed from packages/gcc/6.4.0/0033-isl-0.20.patch) | 0 | ||||
-rw-r--r-- | packages/gcc/6.5.0/chksum | 8 | ||||
-rw-r--r-- | packages/gcc/6.5.0/version.desc (renamed from packages/gcc/6.4.0/version.desc) | 0 |
37 files changed, 31 insertions, 319 deletions
diff --git a/packages/gcc/6.4.0/0000-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch b/packages/gcc/6.4.0/0000-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch deleted file mode 100644 index 9de88c1a..00000000 --- a/packages/gcc/6.4.0/0000-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch +++ /dev/null @@ -1,165 +0,0 @@ -From d1f626c8f3c2c2c3aca3a67d4b66641d2d911dfa Mon Sep 17 00:00:00 2001 -From: jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> -Date: Tue, 4 Jul 2017 10:23:57 +0000 -Subject: [PATCH] Use ucontext_t not struct ucontext in linux-unwind.h files. - -Current glibc no longer gives the ucontext_t type the tag struct -ucontext, to conform with POSIX namespace rules. This requires -various linux-unwind.h files in libgcc, that were previously using -struct ucontext, to be fixed to use ucontext_t instead. This is -similar to the removal of the struct siginfo tag from siginfo_t some -years ago. - -This patch changes those files to use ucontext_t instead. As the -standard name that should be unconditionally safe, so this is not -restricted to architectures supported by glibc, or conditioned on the -glibc version. - -Tested compilation together with current glibc with glibc's -build-many-glibcs.py. - - * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state), - config/alpha/linux-unwind.h (alpha_fallback_frame_state), - config/bfin/linux-unwind.h (bfin_fallback_frame_state), - config/i386/linux-unwind.h (x86_64_fallback_frame_state, - x86_fallback_frame_state), config/m68k/linux-unwind.h (struct - uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext), - config/pa/linux-unwind.h (pa32_fallback_frame_state), - config/sh/linux-unwind.h (sh_fallback_frame_state), - config/tilepro/linux-unwind.h (tile_fallback_frame_state), - config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use - ucontext_t instead of struct ucontext. - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@249957 138bc75d-0d04-0410-961f-82ee72b054a4 ---- - libgcc/config/aarch64/linux-unwind.h | 2 +- - libgcc/config/alpha/linux-unwind.h | 2 +- - libgcc/config/bfin/linux-unwind.h | 2 +- - libgcc/config/i386/linux-unwind.h | 4 ++-- - libgcc/config/m68k/linux-unwind.h | 2 +- - libgcc/config/nios2/linux-unwind.h | 2 +- - libgcc/config/pa/linux-unwind.h | 2 +- - libgcc/config/sh/linux-unwind.h | 2 +- - libgcc/config/tilepro/linux-unwind.h | 2 +- - libgcc/config/xtensa/linux-unwind.h | 2 +- - 10 files changed, 11 insertions(+), 11 deletions(-) - ---- a/libgcc/config/aarch64/linux-unwind.h -+++ b/libgcc/config/aarch64/linux-unwind.h -@@ -52,7 +52,7 @@ - struct rt_sigframe - { - siginfo_t info; -- struct ucontext uc; -+ ucontext_t uc; - }; - - struct rt_sigframe *rt_; ---- a/libgcc/config/alpha/linux-unwind.h -+++ b/libgcc/config/alpha/linux-unwind.h -@@ -51,7 +51,7 @@ - { - struct rt_sigframe { - siginfo_t info; -- struct ucontext uc; -+ ucontext_t uc; - } *rt_ = context->cfa; - sc = &rt_->uc.uc_mcontext; - } ---- a/libgcc/config/bfin/linux-unwind.h -+++ b/libgcc/config/bfin/linux-unwind.h -@@ -52,7 +52,7 @@ - void *puc; - char retcode[8]; - siginfo_t info; -- struct ucontext uc; -+ ucontext_t uc; - } *rt_ = context->cfa; - - /* The void * cast is necessary to avoid an aliasing warning. ---- a/libgcc/config/i386/linux-unwind.h -+++ b/libgcc/config/i386/linux-unwind.h -@@ -58,7 +58,7 @@ - if (*(unsigned char *)(pc+0) == 0x48 - && *(unsigned long long *)(pc+1) == RT_SIGRETURN_SYSCALL) - { -- struct ucontext *uc_ = context->cfa; -+ ucontext_t *uc_ = context->cfa; - /* The void * cast is necessary to avoid an aliasing warning. - The aliasing warning is correct, but should not be a problem - because it does not alias anything. */ -@@ -138,7 +138,7 @@ - siginfo_t *pinfo; - void *puc; - siginfo_t info; -- struct ucontext uc; -+ ucontext_t uc; - } *rt_ = context->cfa; - /* The void * cast is necessary to avoid an aliasing warning. - The aliasing warning is correct, but should not be a problem ---- a/libgcc/config/m68k/linux-unwind.h -+++ b/libgcc/config/m68k/linux-unwind.h -@@ -33,7 +33,7 @@ - /* <sys/ucontext.h> is unfortunately broken right now. */ - struct uw_ucontext { - unsigned long uc_flags; -- struct ucontext *uc_link; -+ ucontext_t *uc_link; - stack_t uc_stack; - mcontext_t uc_mcontext; - unsigned long uc_filler[80]; ---- a/libgcc/config/nios2/linux-unwind.h -+++ b/libgcc/config/nios2/linux-unwind.h -@@ -38,7 +38,7 @@ - - struct nios2_ucontext { - unsigned long uc_flags; -- struct ucontext *uc_link; -+ ucontext_t *uc_link; - stack_t uc_stack; - struct nios2_mcontext uc_mcontext; - sigset_t uc_sigmask; /* mask last for extensibility */ ---- a/libgcc/config/pa/linux-unwind.h -+++ b/libgcc/config/pa/linux-unwind.h -@@ -80,7 +80,7 @@ - struct sigcontext *sc; - struct rt_sigframe { - siginfo_t info; -- struct ucontext uc; -+ ucontext_t uc; - } *frame; - - /* rt_sigreturn trampoline: ---- a/libgcc/config/sh/linux-unwind.h -+++ b/libgcc/config/sh/linux-unwind.h -@@ -180,7 +180,7 @@ - { - struct rt_sigframe { - siginfo_t info; -- struct ucontext uc; -+ ucontext_t uc; - } *rt_ = context->cfa; - /* The void * cast is necessary to avoid an aliasing warning. - The aliasing warning is correct, but should not be a problem ---- a/libgcc/config/tilepro/linux-unwind.h -+++ b/libgcc/config/tilepro/linux-unwind.h -@@ -61,7 +61,7 @@ - struct rt_sigframe { - unsigned char save_area[C_ABI_SAVE_AREA_SIZE]; - siginfo_t info; -- struct ucontext uc; -+ ucontext_t uc; - } *rt_; - - /* Return if this is not a signal handler. */ ---- a/libgcc/config/xtensa/linux-unwind.h -+++ b/libgcc/config/xtensa/linux-unwind.h -@@ -67,7 +67,7 @@ - - struct rt_sigframe { - siginfo_t info; -- struct ucontext uc; -+ ucontext_t uc; - } *rt_; - - /* movi a2, __NR_rt_sigreturn; syscall */ diff --git a/packages/gcc/6.4.0/0010-xtensa-fix-PR-target-82181.patch b/packages/gcc/6.4.0/0010-xtensa-fix-PR-target-82181.patch deleted file mode 100644 index 1258023d..00000000 --- a/packages/gcc/6.4.0/0010-xtensa-fix-PR-target-82181.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 3bc2ee6886f1619bc6a2257a0775142526b1a57a Mon Sep 17 00:00:00 2001 -From: jcmvbkbc <jcmvbkbc@138bc75d-0d04-0410-961f-82ee72b054a4> -Date: Mon, 11 Sep 2017 21:53:38 +0000 -Subject: [PATCH] xtensa: fix PR target/82181 - -2017-09-11 Max Filippov <jcmvbkbc@gmail.com> -gcc/ - Backport from mainline - * config/xtensa/xtensa.c (xtensa_mem_offset): Check that both - words of DImode object are reachable by xtensa_uimm8x4 access. - -Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> ---- - gcc/config/xtensa/xtensa.c | 1 + - 1 file changed, 1 insertion(+) - ---- a/gcc/config/xtensa/xtensa.c -+++ b/gcc/config/xtensa/xtensa.c -@@ -601,6 +601,7 @@ - case HImode: - return xtensa_uimm8x2 (v); - -+ case DImode: - case DFmode: - return (xtensa_uimm8x4 (v) && xtensa_uimm8x4 (v + 4)); - diff --git a/packages/gcc/6.4.0/0032-xtensa-fix-PR-target-65416.patch b/packages/gcc/6.4.0/0032-xtensa-fix-PR-target-65416.patch deleted file mode 100644 index 14fd30f7..00000000 --- a/packages/gcc/6.4.0/0032-xtensa-fix-PR-target-65416.patch +++ /dev/null @@ -1,96 +0,0 @@ -From fa0a207efdfca73fdcd1798789b7121e9e9ae90f 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/6.4.0/chksum b/packages/gcc/6.4.0/chksum deleted file mode 100644 index 2c1803cc..00000000 --- a/packages/gcc/6.4.0/chksum +++ /dev/null @@ -1,8 +0,0 @@ -md5 gcc-6.4.0.tar.xz 11ba51a0cfb8471927f387c8895fe232 -sha1 gcc-6.4.0.tar.xz f237974b2d3af0f60936ce6a2f35b912a91e0239 -sha256 gcc-6.4.0.tar.xz 850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4 -sha512 gcc-6.4.0.tar.xz 02c60e54527c7adf584798d5251f8a0b80c93d5deafce82501b2c28e6692e0bd783927bbfc4bc527a863c0cccc025150a34740a9e29badb02d4b48e56a8aba90 -md5 gcc-6.4.0.tar.gz 3124e1563958a24a64210236852f7283 -sha1 gcc-6.4.0.tar.gz b22ff1effc370c55e389438561f44c88f7cd047d -sha256 gcc-6.4.0.tar.gz 4715f02413f8a91d02d967521c084990c99ce1a671b8a450a80fbd4245f4b728 -sha512 gcc-6.4.0.tar.gz 04a9d461568eea1c7f023690a96c40d8825e47812b478fc27161023cd8549a3fc56cfad6de5d0a0591f44c468ec861b438a2af2e20f4e3dd9952a3d242713178 diff --git a/packages/gcc/6.4.0/0001-libtool-leave-framework-alone.patch b/packages/gcc/6.5.0/0000-libtool-leave-framework-alone.patch index 1a86e415..1a86e415 100644 --- a/packages/gcc/6.4.0/0001-libtool-leave-framework-alone.patch +++ b/packages/gcc/6.5.0/0000-libtool-leave-framework-alone.patch diff --git a/packages/gcc/6.4.0/0002-uclibc-conf.patch b/packages/gcc/6.5.0/0001-uclibc-conf.patch index aef750af..aef750af 100644 --- a/packages/gcc/6.4.0/0002-uclibc-conf.patch +++ b/packages/gcc/6.5.0/0001-uclibc-conf.patch diff --git a/packages/gcc/6.4.0/0003-missing-execinfo_h.patch b/packages/gcc/6.5.0/0002-missing-execinfo_h.patch index c90222a1..c90222a1 100644 --- a/packages/gcc/6.4.0/0003-missing-execinfo_h.patch +++ b/packages/gcc/6.5.0/0002-missing-execinfo_h.patch diff --git a/packages/gcc/6.4.0/0004-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch b/packages/gcc/6.5.0/0003-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch index e81522dc..6c9fd8d8 100644 --- a/packages/gcc/6.4.0/0004-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch +++ b/packages/gcc/6.5.0/0003-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 -@@ -29199,6 +29199,9 @@ +@@ -29238,6 +29238,9 @@ pluginlibs= @@ -63,7 +63,7 @@ case "${host}" in *-*-darwin*) if test x$build = x$host; then -@@ -29209,6 +29212,11 @@ +@@ -29248,6 +29251,11 @@ export_sym_check= fi ;; @@ -75,7 +75,7 @@ *) if test x$build = x$host; then export_sym_check="objdump${exeext} -T" -@@ -29321,23 +29329,23 @@ +@@ -29360,23 +29368,23 @@ case "${host}" in *-*-darwin*) CFLAGS=`echo $CFLAGS | sed s/-mdynamic-no-pic//g` diff --git a/packages/gcc/6.4.0/0005-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc/6.5.0/0004-gcc-plugin-POSIX-include-sys-select-h.patch index 5f9a07a2..5f9a07a2 100644 --- a/packages/gcc/6.4.0/0005-gcc-plugin-POSIX-include-sys-select-h.patch +++ b/packages/gcc/6.5.0/0004-gcc-plugin-POSIX-include-sys-select-h.patch diff --git a/packages/gcc/6.4.0/0006-arm-softfloat-libgcc.patch b/packages/gcc/6.5.0/0005-arm-softfloat-libgcc.patch index 350857dd..350857dd 100644 --- a/packages/gcc/6.4.0/0006-arm-softfloat-libgcc.patch +++ b/packages/gcc/6.5.0/0005-arm-softfloat-libgcc.patch diff --git a/packages/gcc/6.4.0/0007-arm_unbreak_armv4t.patch b/packages/gcc/6.5.0/0006-arm_unbreak_armv4t.patch index 7c374453..7c374453 100644 --- a/packages/gcc/6.4.0/0007-arm_unbreak_armv4t.patch +++ b/packages/gcc/6.5.0/0006-arm_unbreak_armv4t.patch diff --git a/packages/gcc/6.4.0/0008-ARM-PR-target-70473-Reduce-size-of-Cortex-A8-automat.patch b/packages/gcc/6.5.0/0007-ARM-PR-target-70473-Reduce-size-of-Cortex-A8-automat.patch index 24371e66..24371e66 100644 --- a/packages/gcc/6.4.0/0008-ARM-PR-target-70473-Reduce-size-of-Cortex-A8-automat.patch +++ b/packages/gcc/6.5.0/0007-ARM-PR-target-70473-Reduce-size-of-Cortex-A8-automat.patch diff --git a/packages/gcc/6.4.0/0009-cilk-wchar.patch b/packages/gcc/6.5.0/0008-cilk-wchar.patch index 300837f0..300837f0 100644 --- a/packages/gcc/6.4.0/0009-cilk-wchar.patch +++ b/packages/gcc/6.5.0/0008-cilk-wchar.patch diff --git a/packages/gcc/6.4.0/0011-fix-m68k-compile.patch b/packages/gcc/6.5.0/0009-fix-m68k-compile.patch index 9437f252..9437f252 100644 --- a/packages/gcc/6.4.0/0011-fix-m68k-compile.patch +++ b/packages/gcc/6.5.0/0009-fix-m68k-compile.patch diff --git a/packages/gcc/6.4.0/0012-fix-m68k-uclinux.patch b/packages/gcc/6.5.0/0010-fix-m68k-uclinux.patch index 20d7c4af..20d7c4af 100644 --- a/packages/gcc/6.4.0/0012-fix-m68k-uclinux.patch +++ b/packages/gcc/6.5.0/0010-fix-m68k-uclinux.patch diff --git a/packages/gcc/6.4.0/0013-libgcc-mkmap-symver-support-skip_underscore.patch b/packages/gcc/6.5.0/0011-libgcc-mkmap-symver-support-skip_underscore.patch index c6421d09..c6421d09 100644 --- a/packages/gcc/6.4.0/0013-libgcc-mkmap-symver-support-skip_underscore.patch +++ b/packages/gcc/6.5.0/0011-libgcc-mkmap-symver-support-skip_underscore.patch diff --git a/packages/gcc/6.4.0/0014-libgcc-config-bfin-use-the-generic-linker-version-in.patch b/packages/gcc/6.5.0/0012-libgcc-config-bfin-use-the-generic-linker-version-in.patch index ac75cfa5..ac75cfa5 100644 --- a/packages/gcc/6.4.0/0014-libgcc-config-bfin-use-the-generic-linker-version-in.patch +++ b/packages/gcc/6.5.0/0012-libgcc-config-bfin-use-the-generic-linker-version-in.patch diff --git a/packages/gcc/6.4.0/0015-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch b/packages/gcc/6.5.0/0013-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch index f0ada67a..f0ada67a 100644 --- a/packages/gcc/6.4.0/0015-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch +++ b/packages/gcc/6.5.0/0013-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch diff --git a/packages/gcc/6.4.0/0016-bfin-define-REENTRANT.patch b/packages/gcc/6.5.0/0014-bfin-define-REENTRANT.patch index 633084b9..633084b9 100644 --- a/packages/gcc/6.4.0/0016-bfin-define-REENTRANT.patch +++ b/packages/gcc/6.5.0/0014-bfin-define-REENTRANT.patch diff --git a/packages/gcc/6.4.0/0017-libgfortran-missing-include.patch b/packages/gcc/6.5.0/0015-libgfortran-missing-include.patch index 701e7b4f..16af6ac9 100644 --- a/packages/gcc/6.4.0/0017-libgfortran-missing-include.patch +++ b/packages/gcc/6.5.0/0015-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/6.4.0/0018-nios2-bad-multilib-default.patch b/packages/gcc/6.5.0/0016-nios2-bad-multilib-default.patch index 4acc4918..4acc4918 100644 --- a/packages/gcc/6.4.0/0018-nios2-bad-multilib-default.patch +++ b/packages/gcc/6.5.0/0016-nios2-bad-multilib-default.patch diff --git a/packages/gcc/6.4.0/0019-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/6.5.0/0017-libgcc-disable-split-stack-nothreads.patch index df91a9ff..df91a9ff 100644 --- a/packages/gcc/6.4.0/0019-libgcc-disable-split-stack-nothreads.patch +++ b/packages/gcc/6.5.0/0017-libgcc-disable-split-stack-nothreads.patch diff --git a/packages/gcc/6.4.0/0020-uclinux-enable-threads.patch b/packages/gcc/6.5.0/0018-uclinux-enable-threads.patch index 8e4e0a26..8e4e0a26 100644 --- a/packages/gcc/6.4.0/0020-uclinux-enable-threads.patch +++ b/packages/gcc/6.5.0/0018-uclinux-enable-threads.patch diff --git a/packages/gcc/6.4.0/0021-bionic-ndk.patch b/packages/gcc/6.5.0/0019-bionic-ndk.patch index 474dd8c0..474dd8c0 100644 --- a/packages/gcc/6.4.0/0021-bionic-ndk.patch +++ b/packages/gcc/6.5.0/0019-bionic-ndk.patch diff --git a/packages/gcc/6.4.0/0022-bionic-errno.patch b/packages/gcc/6.5.0/0020-bionic-errno.patch index 0a1a6327..0a1a6327 100644 --- a/packages/gcc/6.4.0/0022-bionic-errno.patch +++ b/packages/gcc/6.5.0/0020-bionic-errno.patch diff --git a/packages/gcc/6.4.0/0023-crystax.patch b/packages/gcc/6.5.0/0021-crystax.patch index 47109006..d830ffc0 100644 --- a/packages/gcc/6.4.0/0023-crystax.patch +++ b/packages/gcc/6.5.0/0021-crystax.patch @@ -16,7 +16,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300 gcc/config/arm/arm.opt | 4 + gcc/config/arm/elf.h | 9 ++-- gcc/config/arm/linux-eabi.h | 7 ++- - gcc/config/i386/gnu-user.h | 7 ++- + gcc/config/i386/gnu-user.h | 6 ++ gcc/config/i386/gnu-user64.h | 5 ++ gcc/config/i386/linux-common.h | 8 +++ gcc/config/linux-android.h | 13 +++--- @@ -29,7 +29,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300 libstdc++-v3/configure | 12 +++++ libstdc++-v3/include/bits/locale_facets.h | 18 +++++++- libstdc++-v3/libsupc++/guard.cc | 5 ++ - 21 files changed, 235 insertions(+), 20 deletions(-) + 21 files changed, 234 insertions(+), 20 deletions(-) --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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 -@@ -2072,6 +2076,17 @@ +@@ -2076,6 +2080,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 -@@ -1893,10 +1893,11 @@ +@@ -1894,10 +1894,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 -@@ -8180,7 +8180,7 @@ +@@ -8177,7 +8177,7 @@ (match_operand:SI 2 "const_int_operand" "") ; total range (match_operand:SI 3 "" "") ; table label (match_operand:SI 4 "" "")] ; Out of range label @@ -243,7 +243,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300 LINUX_OR_ANDROID_LD (GNU_USER_TARGET_LIB_SPEC, \ --- a/gcc/config/i386/gnu-user.h +++ b/gcc/config/i386/gnu-user.h -@@ -65,9 +65,14 @@ +@@ -65,9 +65,13 @@ When the -shared link option is used a final link is not being done. */ @@ -253,9 +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}} " \ -+ LINUX_OR_ANDROID_CC ("", ANDROID_ASM_SPEC) +- "--32 %{msse2avx:%{!mavx:-msse2avx}}" ++ "--32 %{msse2avx:%{!mavx:-msse2avx}}" LINUX_OR_ANDROID_CC ("", ANDROID_ASM_SPEC) #undef SUBTARGET_EXTRA_SPECS #define SUBTARGET_EXTRA_SPECS \ @@ -445,7 +444,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300 #if ((defined(_LIBOBJC) || defined(_LIBOBJC_WEAK)) \ --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure -@@ -78389,6 +78389,12 @@ +@@ -78391,6 +78391,12 @@ /* end confdefs.h. */ #include <sys/syscall.h> int lk; @@ -458,7 +457,7 @@ Date: Wed Jul 29 11:28:29 2015 +0300 int main () { -@@ -78447,6 +78453,12 @@ +@@ -78449,6 +78455,12 @@ /* end confdefs.h. */ #include <sys/syscall.h> int lk; diff --git a/packages/gcc/6.4.0/0024-crystax.patch b/packages/gcc/6.5.0/0022-crystax.patch index f1f9eb12..f1f9eb12 100644 --- a/packages/gcc/6.4.0/0024-crystax.patch +++ b/packages/gcc/6.5.0/0022-crystax.patch diff --git a/packages/gcc/6.4.0/0025-crystax.patch b/packages/gcc/6.5.0/0023-crystax.patch index 16b182fb..ed85da61 100644 --- a/packages/gcc/6.4.0/0025-crystax.patch +++ b/packages/gcc/6.5.0/0023-crystax.patch @@ -26,7 +26,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700 --- a/gcc/config.in +++ b/gcc/config.in -@@ -2144,6 +2144,12 @@ +@@ -2150,6 +2150,12 @@ #endif @@ -68,7 +68,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700 #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ --- a/gcc/config/gnu-user.h +++ b/gcc/config/gnu-user.h -@@ -118,8 +118,12 @@ +@@ -132,8 +132,12 @@ #define LIB_SPEC GNU_USER_TARGET_LIB_SPEC #if defined(HAVE_LD_EH_FRAME_HDR) @@ -98,7 +98,7 @@ Date: Mon Apr 14 15:59:47 2014 -0700 #define LIB_SPEC OBSD_LIB_SPEC --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h -@@ -800,7 +800,11 @@ +@@ -810,7 +810,11 @@ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "}}" #if defined(HAVE_LD_EH_FRAME_HDR) @@ -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 -@@ -27785,6 +27789,38 @@ +@@ -27824,6 +27828,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 -@@ -4861,6 +4861,35 @@ +@@ -4874,6 +4874,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/6.4.0/0026-crystax.patch b/packages/gcc/6.5.0/0024-crystax.patch index 8aacba2c..0a3fcdc4 100644 --- a/packages/gcc/6.4.0/0026-crystax.patch +++ b/packages/gcc/6.5.0/0024-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 -@@ -14683,6 +14683,7 @@ +@@ -15019,6 +15019,7 @@ else if (!SYMBOL_REF_FAR_ADDR_P (op0) && (SYMBOL_REF_LOCAL_P (op0) || (HAVE_LD_PIE_COPYRELOC diff --git a/packages/gcc/6.4.0/0027-crystax.patch b/packages/gcc/6.5.0/0025-crystax.patch index 8f2eb438..8f2eb438 100644 --- a/packages/gcc/6.4.0/0027-crystax.patch +++ b/packages/gcc/6.5.0/0025-crystax.patch diff --git a/packages/gcc/6.4.0/0028-crystax.patch b/packages/gcc/6.5.0/0026-crystax.patch index 5e23c3cb..b1453a4a 100644 --- a/packages/gcc/6.4.0/0028-crystax.patch +++ b/packages/gcc/6.5.0/0026-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 -@@ -22460,9 +22460,13 @@ +@@ -22487,9 +22487,13 @@ memsize = MEM_SIZE (x); /* Only certain alignment specifiers are supported by the hardware. */ diff --git a/packages/gcc/6.4.0/0029-crystax.patch b/packages/gcc/6.5.0/0027-crystax.patch index 8c21a1cc..8c21a1cc 100644 --- a/packages/gcc/6.4.0/0029-crystax.patch +++ b/packages/gcc/6.5.0/0027-crystax.patch diff --git a/packages/gcc/6.4.0/0030-crystax.patch b/packages/gcc/6.5.0/0028-crystax.patch index ccb81fd6..ccb81fd6 100644 --- a/packages/gcc/6.4.0/0030-crystax.patch +++ b/packages/gcc/6.5.0/0028-crystax.patch diff --git a/packages/gcc/6.4.0/0031-msp430-fix.patch b/packages/gcc/6.5.0/0029-msp430-fix.patch index eff5592f..eff5592f 100644 --- a/packages/gcc/6.4.0/0031-msp430-fix.patch +++ b/packages/gcc/6.5.0/0029-msp430-fix.patch diff --git a/packages/gcc/6.4.0/0033-isl-0.20.patch b/packages/gcc/6.5.0/0030-isl-0.20.patch index f253eab9..f253eab9 100644 --- a/packages/gcc/6.4.0/0033-isl-0.20.patch +++ b/packages/gcc/6.5.0/0030-isl-0.20.patch diff --git a/packages/gcc/6.5.0/chksum b/packages/gcc/6.5.0/chksum new file mode 100644 index 00000000..867d7e48 --- /dev/null +++ b/packages/gcc/6.5.0/chksum @@ -0,0 +1,8 @@ +md5 gcc-6.5.0.tar.xz edaeff1cc020b16a0c19a6d5e80dc2fd +sha1 gcc-6.5.0.tar.xz 368b3f5d294b1a8727b372ac0a77703d8b41968a +sha256 gcc-6.5.0.tar.xz 7ef1796ce497e89479183702635b14bb7a46b53249209a5e0f999bebf4740945 +sha512 gcc-6.5.0.tar.xz ce046f9a50050fd54b870aab764f7db187fe7ea92eb4aaffb7c3689ca623755604e231f2af97ef795f41c406bb80c797dd69957cfdd51dfa2ba60813f72b7eac +md5 gcc-6.5.0.tar.gz f02b6b1af90e9c45a23def1261848bda +sha1 gcc-6.5.0.tar.gz 4221381b7956e60289e20f1459734d5e3bbf6583 +sha256 gcc-6.5.0.tar.gz 4eed92b3c24af2e774de94e96993aadbf6761cdf7a0345e59eb826d20a9ebf73 +sha512 gcc-6.5.0.tar.gz 4ac91a81b345b70b62ee8c290d67b368b3c4e3e54cf9b4ad04accd16e5341fa922cac9cd9f82c0877498de12b16eb124bc70e2e2d04a5659e4b662ed9f08cc54 diff --git a/packages/gcc/6.4.0/version.desc b/packages/gcc/6.5.0/version.desc index e69de29b..e69de29b 100644 --- a/packages/gcc/6.4.0/version.desc +++ b/packages/gcc/6.5.0/version.desc |