diff options
Diffstat (limited to 'packages/gcc-linaro/5.4-2017.05')
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0000-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch (renamed from packages/gcc-linaro/5.4-2017.05/0001-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch) | 65 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0001-libtool-leave-framework-alone.patch (renamed from packages/gcc-linaro/5.4-2017.05/1000-libtool-leave-framework-alone.patch) | 8 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0002-uclibc-conf.patch (renamed from packages/gcc-linaro/5.4-2017.05/100-uclibc-conf.patch) | 6 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0003-msp430-string-literals.patch (renamed from packages/gcc-linaro/5.4-2017.05/1100-msp430-string-literals.patch) | 22 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0004-xtensa-implement-trap-pattern.patch (renamed from packages/gcc-linaro/5.4-2017.05/110-xtensa-implement-trap-pattern.patch) | 13 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0005-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch (renamed from packages/gcc-linaro/5.4-2017.05/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch) | 11 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0006-missing-execinfo_h.patch (renamed from packages/gcc-linaro/5.4-2017.05/301-missing-execinfo_h.patch) | 6 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0007-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (renamed from packages/gcc-linaro/5.4-2017.05/370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch) | 27 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0008-gcc-plugin-POSIX-include-sys-select-h.patch | 14 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0009-arm-softfloat-libgcc.patch (renamed from packages/gcc-linaro/5.4-2017.05/810-arm-softfloat-libgcc.patch) | 9 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0010-arm_unbreak_armv4t.patch (renamed from packages/gcc-linaro/5.4-2017.05/830-arm_unbreak_armv4t.patch) | 6 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0011-microblaze-enable-dwarf-eh-support.patch (renamed from packages/gcc-linaro/5.4-2017.05/840-microblaze-enable-dwarf-eh-support.patch) | 20 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0012-libstdcxx-uclibc-c99.patch (renamed from packages/gcc-linaro/5.4-2017.05/850-libstdcxx-uclibc-c99.patch) | 62 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0013-cilk-wchar.patch (renamed from packages/gcc-linaro/5.4-2017.05/860-cilk-wchar.patch) | 2 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0014-xtensa-add-mauto-litpools-option.patch (renamed from packages/gcc-linaro/5.4-2017.05/870-xtensa-add-mauto-litpools-option.patch) | 43 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0015-xtensa-reimplement-register-spilling.patch (renamed from packages/gcc-linaro/5.4-2017.05/871-xtensa-reimplement-register-spilling.patch) | 15 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0016-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch (renamed from packages/gcc-linaro/5.4-2017.05/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch) | 7 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0017-xtensa-fix-_Unwind_GetCFA.patch (renamed from packages/gcc-linaro/5.4-2017.05/873-xtensa-fix-_Unwind_GetCFA.patch) | 9 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0018-xtensa-add-uclinux-support.patch (renamed from packages/gcc-linaro/5.4-2017.05/874-xtensa-add-uclinux-support.patch) | 25 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0019-xtensa-fix-xtensa_fallback_frame_state-for-call0-ABI.patch (renamed from packages/gcc-linaro/5.4-2017.05/875-xtensa-fix-xtensa_fallback_frame_state-for-call0-ABI.patch) | 21 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0020-xtensa-fix-libgcc-build-with-text-section-literals.patch (renamed from packages/gcc-linaro/5.4-2017.05/876-xtensa-fix-libgcc-build-with-text-section-literals.patch) | 19 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0021-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch (renamed from packages/gcc-linaro/5.4-2017.05/877-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch) | 17 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0022-xtensa-Fix-PR-target-78603.patch (renamed from packages/gcc-linaro/5.4-2017.05/878-xtensa-Fix-PR-target-78603.patch) | 9 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0023-gcc-xtensa-fix-fprintf-format-specifiers.patch (renamed from packages/gcc-linaro/5.4-2017.05/879-gcc-xtensa-fix-fprintf-format-specifiers.patch) | 15 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0024-xtensa-fix-PR-target-82181.patch (renamed from packages/gcc-linaro/5.4-2017.05/880-xtensa-fix-PR-target-82181.patch) | 9 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0025-fix-m68k-compile.patch (renamed from packages/gcc-linaro/5.4-2017.05/890-fix-m68k-compile.patch) | 9 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0026-fix-m68k-uclinux.patch (renamed from packages/gcc-linaro/5.4-2017.05/891-fix-m68k-uclinux.patch) | 11 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0027-microblaze-uclibc.patch (renamed from packages/gcc-linaro/5.4-2017.05/892-microblaze-uclibc.patch) | 9 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0028-unwind-fix-for-musl.patch (renamed from packages/gcc-linaro/5.4-2017.05/902-unwind-fix-for-musl.patch) | 8 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0029-nios2-bad-multilib-default.patch (renamed from packages/gcc-linaro/5.4-2017.05/910-nios2-bad-multilib-default.patch) | 15 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0030-libgcc-disable-split-stack-nothreads.patch (renamed from packages/gcc-linaro/5.4-2017.05/930-libgcc-disable-split-stack-nothreads.patch) | 9 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/0031-uclinux-enable-threads.patch (renamed from packages/gcc-linaro/5.4-2017.05/940-uclinux-enable-threads.patch) | 11 | ||||
-rw-r--r-- | packages/gcc-linaro/5.4-2017.05/380-gcc-plugin-POSIX-include-sys-select-h.patch | 11 |
33 files changed, 217 insertions, 326 deletions
diff --git a/packages/gcc-linaro/5.4-2017.05/0001-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch b/packages/gcc-linaro/5.4-2017.05/0000-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch index 1a6f7e5..7162534 100644 --- a/packages/gcc-linaro/5.4-2017.05/0001-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch +++ b/packages/gcc-linaro/5.4-2017.05/0000-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch @@ -32,23 +32,21 @@ build-many-glibcs.py. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@249958 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 +- + 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(-) -diff --git a/libgcc/config/aarch64/linux-unwind.h b/libgcc/config/aarch64/linux-unwind.h -index 86d17b1c798..909f68f7311 100644 --- a/libgcc/config/aarch64/linux-unwind.h +++ b/libgcc/config/aarch64/linux-unwind.h -@@ -52,7 +52,7 @@ aarch64_fallback_frame_state (struct _Unwind_Context *context, +@@ -52,7 +52,7 @@ struct rt_sigframe { siginfo_t info; @@ -57,11 +55,9 @@ index 86d17b1c798..909f68f7311 100644 }; struct rt_sigframe *rt_; -diff --git a/libgcc/config/alpha/linux-unwind.h b/libgcc/config/alpha/linux-unwind.h -index d65474fec12..9a226b195b5 100644 --- a/libgcc/config/alpha/linux-unwind.h +++ b/libgcc/config/alpha/linux-unwind.h -@@ -51,7 +51,7 @@ alpha_fallback_frame_state (struct _Unwind_Context *context, +@@ -51,7 +51,7 @@ { struct rt_sigframe { siginfo_t info; @@ -70,11 +66,9 @@ index d65474fec12..9a226b195b5 100644 } *rt_ = context->cfa; sc = &rt_->uc.uc_mcontext; } -diff --git a/libgcc/config/bfin/linux-unwind.h b/libgcc/config/bfin/linux-unwind.h -index 0c270e435c7..7fa95d2dc96 100644 --- a/libgcc/config/bfin/linux-unwind.h +++ b/libgcc/config/bfin/linux-unwind.h -@@ -52,7 +52,7 @@ bfin_fallback_frame_state (struct _Unwind_Context *context, +@@ -52,7 +52,7 @@ void *puc; char retcode[8]; siginfo_t info; @@ -83,11 +77,9 @@ index 0c270e435c7..7fa95d2dc96 100644 } *rt_ = context->cfa; /* The void * cast is necessary to avoid an aliasing warning. -diff --git a/libgcc/config/i386/linux-unwind.h b/libgcc/config/i386/linux-unwind.h -index e54bf73b1fd..d35fc4566ce 100644 --- a/libgcc/config/i386/linux-unwind.h +++ b/libgcc/config/i386/linux-unwind.h -@@ -58,7 +58,7 @@ x86_64_fallback_frame_state (struct _Unwind_Context *context, +@@ -58,7 +58,7 @@ if (*(unsigned char *)(pc+0) == 0x48 && *(unsigned long long *)(pc+1) == RT_SIGRETURN_SYSCALL) { @@ -96,7 +88,7 @@ index e54bf73b1fd..d35fc4566ce 100644 /* 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 @@ x86_fallback_frame_state (struct _Unwind_Context *context, +@@ -138,7 +138,7 @@ siginfo_t *pinfo; void *puc; siginfo_t info; @@ -105,11 +97,9 @@ index e54bf73b1fd..d35fc4566ce 100644 } *rt_ = context->cfa; /* The void * cast is necessary to avoid an aliasing warning. The aliasing warning is correct, but should not be a problem -diff --git a/libgcc/config/m68k/linux-unwind.h b/libgcc/config/m68k/linux-unwind.h -index fb79a4d63cd..b2f5ea4cd7c 100644 --- a/libgcc/config/m68k/linux-unwind.h +++ b/libgcc/config/m68k/linux-unwind.h -@@ -33,7 +33,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +@@ -33,7 +33,7 @@ /* <sys/ucontext.h> is unfortunately broken right now. */ struct uw_ucontext { unsigned long uc_flags; @@ -118,11 +108,9 @@ index fb79a4d63cd..b2f5ea4cd7c 100644 stack_t uc_stack; mcontext_t uc_mcontext; unsigned long uc_filler[80]; -diff --git a/libgcc/config/nios2/linux-unwind.h b/libgcc/config/nios2/linux-unwind.h -index dff1c20076e..1d88afecb12 100644 --- a/libgcc/config/nios2/linux-unwind.h +++ b/libgcc/config/nios2/linux-unwind.h -@@ -38,7 +38,7 @@ struct nios2_mcontext { +@@ -38,7 +38,7 @@ struct nios2_ucontext { unsigned long uc_flags; @@ -131,11 +119,9 @@ index dff1c20076e..1d88afecb12 100644 stack_t uc_stack; struct nios2_mcontext uc_mcontext; sigset_t uc_sigmask; /* mask last for extensibility */ -diff --git a/libgcc/config/pa/linux-unwind.h b/libgcc/config/pa/linux-unwind.h -index 01494685ea4..91575356803 100644 --- a/libgcc/config/pa/linux-unwind.h +++ b/libgcc/config/pa/linux-unwind.h -@@ -80,7 +80,7 @@ pa32_fallback_frame_state (struct _Unwind_Context *context, +@@ -80,7 +80,7 @@ struct sigcontext *sc; struct rt_sigframe { siginfo_t info; @@ -144,11 +130,9 @@ index 01494685ea4..91575356803 100644 } *frame; /* rt_sigreturn trampoline: -diff --git a/libgcc/config/sh/linux-unwind.h b/libgcc/config/sh/linux-unwind.h -index e63091f287c..67033f06b4b 100644 --- a/libgcc/config/sh/linux-unwind.h +++ b/libgcc/config/sh/linux-unwind.h -@@ -180,7 +180,7 @@ sh_fallback_frame_state (struct _Unwind_Context *context, +@@ -180,7 +180,7 @@ { struct rt_sigframe { siginfo_t info; @@ -157,11 +141,9 @@ index e63091f287c..67033f06b4b 100644 } *rt_ = context->cfa; /* The void * cast is necessary to avoid an aliasing warning. The aliasing warning is correct, but should not be a problem -diff --git a/libgcc/config/tilepro/linux-unwind.h b/libgcc/config/tilepro/linux-unwind.h -index fd83ba7c275..e3c9ef0840d 100644 --- a/libgcc/config/tilepro/linux-unwind.h +++ b/libgcc/config/tilepro/linux-unwind.h -@@ -61,7 +61,7 @@ tile_fallback_frame_state (struct _Unwind_Context *context, +@@ -61,7 +61,7 @@ struct rt_sigframe { unsigned char save_area[C_ABI_SAVE_AREA_SIZE]; siginfo_t info; @@ -170,11 +152,9 @@ index fd83ba7c275..e3c9ef0840d 100644 } *rt_; /* Return if this is not a signal handler. */ -diff --git a/libgcc/config/xtensa/linux-unwind.h b/libgcc/config/xtensa/linux-unwind.h -index 9daf738ff57..ff6b66373a9 100644 --- a/libgcc/config/xtensa/linux-unwind.h +++ b/libgcc/config/xtensa/linux-unwind.h -@@ -64,7 +64,7 @@ xtensa_fallback_frame_state (struct _Unwind_Context *context, +@@ -64,7 +64,7 @@ struct rt_sigframe { siginfo_t info; @@ -183,6 +163,3 @@ index 9daf738ff57..ff6b66373a9 100644 } *rt_; /* movi a2, __NR_rt_sigreturn; syscall */ --- -2.14.1 - diff --git a/packages/gcc-linaro/5.4-2017.05/1000-libtool-leave-framework-alone.patch b/packages/gcc-linaro/5.4-2017.05/0001-libtool-leave-framework-alone.patch index 0f4912a..1a86e41 100644 --- a/packages/gcc-linaro/5.4-2017.05/1000-libtool-leave-framework-alone.patch +++ b/packages/gcc-linaro/5.4-2017.05/0001-libtool-leave-framework-alone.patch @@ -1,5 +1,9 @@ ---- gcc-5.4.0/libtool-ldflags 2016-12-20 11:13:12.669668125 -0800 -+++ gcc-5.4.0/libtool-ldflags 2016-12-20 11:28:34.894826286 -0800 +--- + libtool-ldflags | 5 +++++ + 1 file changed, 5 insertions(+) + +--- a/libtool-ldflags ++++ b/libtool-ldflags @@ -36,6 +36,11 @@ for arg do diff --git a/packages/gcc-linaro/5.4-2017.05/100-uclibc-conf.patch b/packages/gcc-linaro/5.4-2017.05/0002-uclibc-conf.patch index 73d1f0d..aef750a 100644 --- a/packages/gcc-linaro/5.4-2017.05/100-uclibc-conf.patch +++ b/packages/gcc-linaro/5.4-2017.05/0002-uclibc-conf.patch @@ -1,5 +1,7 @@ -Index: b/contrib/regression/objs-gcc.sh -=================================================================== +--- + contrib/regression/objs-gcc.sh | 4 ++++ + 1 file changed, 4 insertions(+) + --- a/contrib/regression/objs-gcc.sh +++ b/contrib/regression/objs-gcc.sh @@ -106,6 +106,10 @@ diff --git a/packages/gcc-linaro/5.4-2017.05/1100-msp430-string-literals.patch b/packages/gcc-linaro/5.4-2017.05/0003-msp430-string-literals.patch index 819d6d2..24f421f 100644 --- a/packages/gcc-linaro/5.4-2017.05/1100-msp430-string-literals.patch +++ b/packages/gcc-linaro/5.4-2017.05/0003-msp430-string-literals.patch @@ -11,11 +11,15 @@ Date: Wed May 13 01:11:13 2015 +0000 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223106 138bc75d-0d04-0410-961f-82ee72b054a4 -diff --git a/gcc/ada/sigtramp-vxworks.c b/gcc/ada/sigtramp-vxworks.c -index 2119296dc1d..c697626a03e 100644 +--- + gcc/ada/sigtramp-vxworks.c | 6 +++--- + gcc/config/mmix/mmix.c | 6 +++--- + gcc/config/msp430/msp430.c | 2 +- + 3 files changed, 7 insertions(+), 7 deletions(-) + --- a/gcc/ada/sigtramp-vxworks.c +++ b/gcc/ada/sigtramp-vxworks.c -@@ -342,16 +342,16 @@ CR("") \ +@@ -342,16 +342,16 @@ TCR("# Allocate frame and save the non-volatile") \ TCR("# registers we're going to modify") \ TCR("mov ip, sp") \ @@ -35,11 +39,9 @@ index 2119296dc1d..c697626a03e 100644 #else Not_implemented; -diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c -index 6e991207dbc..e0699854e25 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c -@@ -2520,7 +2520,7 @@ mmix_output_shiftvalue_op_from_str (FILE *stream, +@@ -2521,7 +2521,7 @@ if (! mmix_shiftable_wyde_value (value)) { char s[sizeof ("0xffffffffffffffff")]; @@ -48,7 +50,7 @@ index 6e991207dbc..e0699854e25 100644 internal_error ("MMIX Internal: %s is not a shiftable int", s); } -@@ -2562,7 +2562,7 @@ mmix_output_octa (FILE *stream, int64_t value, int do_begin_end) +@@ -2563,7 +2563,7 @@ fprintf (stream, "#" HOST_WIDE_INT_PRINT_HEX_PURE, (HOST_WIDE_INT) value); else /* Need to avoid the hex output; there's no ...WIDEST...HEX_PURE. */ @@ -57,7 +59,7 @@ index 6e991207dbc..e0699854e25 100644 if (do_begin_end) fprintf (stream, "\n"); -@@ -2579,7 +2579,7 @@ mmix_output_shifted_value (FILE *stream, int64_t value) +@@ -2580,7 +2580,7 @@ if (! mmix_shiftable_wyde_value (value)) { char s[16+2+1]; @@ -66,11 +68,9 @@ index 6e991207dbc..e0699854e25 100644 internal_error ("MMIX Internal: %s is not a shiftable int", s); } -diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c -index bec168ca2ae..58d0efea1de 100644 --- a/gcc/config/msp430/msp430.c +++ b/gcc/config/msp430/msp430.c -@@ -2248,7 +2248,7 @@ static struct +@@ -1902,7 +1902,7 @@ } const_shift_helpers[] = { diff --git a/packages/gcc-linaro/5.4-2017.05/110-xtensa-implement-trap-pattern.patch b/packages/gcc-linaro/5.4-2017.05/0004-xtensa-implement-trap-pattern.patch index 3304532..b25bbda 100644 --- a/packages/gcc-linaro/5.4-2017.05/110-xtensa-implement-trap-pattern.patch +++ b/packages/gcc-linaro/5.4-2017.05/0004-xtensa-implement-trap-pattern.patch @@ -10,15 +10,13 @@ gcc/ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- - gcc/config/xtensa/xtensa.h | 1 + - gcc/config/xtensa/xtensa.md | 15 ++++++++++++++- + gcc/config/xtensa/xtensa.h | 1 + + gcc/config/xtensa/xtensa.md | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) -diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h -index 011411c..584080b 100644 --- a/gcc/config/xtensa/xtensa.h +++ b/gcc/config/xtensa/xtensa.h -@@ -67,6 +67,7 @@ extern unsigned xtensa_current_frame_size; +@@ -67,6 +67,7 @@ #define TARGET_THREADPTR XCHAL_HAVE_THREADPTR #define TARGET_LOOPS XCHAL_HAVE_LOOPS #define TARGET_WINDOWED_ABI (XSHAL_ABI == XTHAL_ABI_WINDOWED) @@ -26,8 +24,6 @@ index 011411c..584080b 100644 #define TARGET_DEFAULT \ ((XCHAL_HAVE_L32R ? 0 : MASK_CONST16) | \ -diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md -index 6d84384..a577aa3 100644 --- a/gcc/config/xtensa/xtensa.md +++ b/gcc/config/xtensa/xtensa.md @@ -86,7 +86,7 @@ @@ -59,6 +55,3 @@ index 6d84384..a577aa3 100644 ;; Setting up a frame pointer is tricky for Xtensa because GCC doesn't ;; know if a frame pointer is required until the reload pass, and ;; because there may be an incoming argument value in the hard frame --- -1.8.1.4 - diff --git a/packages/gcc-linaro/5.4-2017.05/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch b/packages/gcc-linaro/5.4-2017.05/0005-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch index c11ad35..cf52950 100644 --- a/packages/gcc-linaro/5.4-2017.05/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch +++ b/packages/gcc-linaro/5.4-2017.05/0005-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch @@ -8,14 +8,12 @@ Otherwise it is not recognized as a 64-bit powerpc and gcc will not generate Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> --- - gcc/config.gcc | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) + gcc/config.gcc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/gcc/config.gcc b/gcc/config.gcc -index 4a7cbd2..9cc765e 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc -@@ -439,7 +439,7 @@ powerpc*-*-*) +@@ -435,7 +435,7 @@ cpu_type=rs6000 extra_headers="ppc-asm.h altivec.h spe.h ppu_intrinsics.h paired.h spu2vmx.h vec_types.h si2vmx.h htmintrin.h htmxlintrin.h" case x$with_cpu in @@ -24,6 +22,3 @@ index 4a7cbd2..9cc765e 100644 cpu_is_64bit=yes ;; esac --- -2.6.2 - diff --git a/packages/gcc-linaro/5.4-2017.05/301-missing-execinfo_h.patch b/packages/gcc-linaro/5.4-2017.05/0006-missing-execinfo_h.patch index 2d0e7ba..c90222a 100644 --- a/packages/gcc-linaro/5.4-2017.05/301-missing-execinfo_h.patch +++ b/packages/gcc-linaro/5.4-2017.05/0006-missing-execinfo_h.patch @@ -1,5 +1,7 @@ -Index: b/boehm-gc/include/gc.h -=================================================================== +--- + boehm-gc/include/gc.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + --- a/boehm-gc/include/gc.h +++ b/boehm-gc/include/gc.h @@ -503,7 +503,7 @@ diff --git a/packages/gcc-linaro/5.4-2017.05/370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch b/packages/gcc-linaro/5.4-2017.05/0007-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch index d8986d5..74f6f3f 100644 --- a/packages/gcc-linaro/5.4-2017.05/370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch +++ b/packages/gcc-linaro/5.4-2017.05/0007-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch @@ -1,6 +1,11 @@ -diff -urN gcc-5.3.0.orig/config/gcc-plugin.m4 gcc-5.3.0/config/gcc-plugin.m4 ---- gcc-5.3.0.orig/config/gcc-plugin.m4 2015-12-19 14:39:04.120734900 +0000 -+++ gcc-5.3.0/config/gcc-plugin.m4 2015-12-20 01:28:45.381965300 +0000 +--- + config/gcc-plugin.m4 | 18 +++++++++++++----- + gcc/configure | 22 +++++++++++++++------- + libcc1/configure | 22 +++++++++++++++------- + 3 files changed, 43 insertions(+), 19 deletions(-) + +--- a/config/gcc-plugin.m4 ++++ b/config/gcc-plugin.m4 @@ -20,6 +20,9 @@ pluginlibs= @@ -46,10 +51,9 @@ diff -urN gcc-5.3.0.orig/config/gcc-plugin.m4 gcc-5.3.0/config/gcc-plugin.m4 [AC_MSG_RESULT([yes]); have_pic_shared=yes], [AC_MSG_RESULT([no]); have_pic_shared=no]) if test x"$have_pic_shared" != x"yes" -o x"$ac_cv_search_dlopen" = x"no"; then -diff -urN gcc-5.3.0.orig/gcc/configure gcc-5.3.0/gcc/configure ---- gcc-5.3.0.orig/gcc/configure 2015-12-19 14:40:16.893975900 +0000 -+++ gcc-5.3.0/gcc/configure 2015-12-20 01:28:45.472476700 +0000 -@@ -28386,6 +28386,9 @@ +--- a/gcc/configure ++++ b/gcc/configure +@@ -28465,6 +28465,9 @@ pluginlibs= @@ -59,7 +63,7 @@ diff -urN gcc-5.3.0.orig/gcc/configure gcc-5.3.0/gcc/configure case "${host}" in *-*-darwin*) if test x$build = x$host; then -@@ -28396,6 +28399,11 @@ +@@ -28475,6 +28478,11 @@ export_sym_check= fi ;; @@ -71,7 +75,7 @@ diff -urN gcc-5.3.0.orig/gcc/configure gcc-5.3.0/gcc/configure *) if test x$build = x$host; then export_sym_check="objdump${exeext} -T" -@@ -28508,23 +28516,23 @@ +@@ -28587,23 +28595,23 @@ case "${host}" in *-*-darwin*) CFLAGS=`echo $CFLAGS | sed s/-mdynamic-no-pic//g` @@ -102,9 +106,8 @@ diff -urN gcc-5.3.0.orig/gcc/configure gcc-5.3.0/gcc/configure ; return 0; } -diff -urN gcc-5.3.0.orig/libcc1/configure gcc-5.3.0/libcc1/configure ---- gcc-5.3.0.orig/libcc1/configure 2015-12-19 14:40:20.855979000 +0000 -+++ gcc-5.3.0/libcc1/configure 2015-12-20 01:28:45.504980900 +0000 +--- a/libcc1/configure ++++ b/libcc1/configure @@ -14500,6 +14500,9 @@ pluginlibs= diff --git a/packages/gcc-linaro/5.4-2017.05/0008-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc-linaro/5.4-2017.05/0008-gcc-plugin-POSIX-include-sys-select-h.patch new file mode 100644 index 0000000..5f9a07a --- /dev/null +++ b/packages/gcc-linaro/5.4-2017.05/0008-gcc-plugin-POSIX-include-sys-select-h.patch @@ -0,0 +1,14 @@ +--- + libcc1/connection.cc | 1 + + 1 file changed, 1 insertion(+) + +--- a/libcc1/connection.cc ++++ b/libcc1/connection.cc +@@ -21,6 +21,7 @@ + #include <string> + #include <unistd.h> + #include <sys/types.h> ++#include <sys/select.h> + #include <string.h> + #include <errno.h> + #include "marshall.hh" diff --git a/packages/gcc-linaro/5.4-2017.05/810-arm-softfloat-libgcc.patch b/packages/gcc-linaro/5.4-2017.05/0009-arm-softfloat-libgcc.patch index 5efa7fd..350857d 100644 --- a/packages/gcc-linaro/5.4-2017.05/810-arm-softfloat-libgcc.patch +++ b/packages/gcc-linaro/5.4-2017.05/0009-arm-softfloat-libgcc.patch @@ -1,5 +1,8 @@ -Index: b/gcc/config/arm/linux-elf.h -=================================================================== +--- + gcc/config/arm/linux-elf.h | 2 +- + libgcc/config/arm/t-linux | 7 ++++++- + 2 files changed, 7 insertions(+), 2 deletions(-) + --- a/gcc/config/arm/linux-elf.h +++ b/gcc/config/arm/linux-elf.h @@ -60,7 +60,7 @@ @@ -11,8 +14,6 @@ Index: b/gcc/config/arm/linux-elf.h #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -Index: b/libgcc/config/arm/t-linux -=================================================================== --- a/libgcc/config/arm/t-linux +++ b/libgcc/config/arm/t-linux @@ -1,6 +1,11 @@ diff --git a/packages/gcc-linaro/5.4-2017.05/830-arm_unbreak_armv4t.patch b/packages/gcc-linaro/5.4-2017.05/0010-arm_unbreak_armv4t.patch index b730059..7c37445 100644 --- a/packages/gcc-linaro/5.4-2017.05/830-arm_unbreak_armv4t.patch +++ b/packages/gcc-linaro/5.4-2017.05/0010-arm_unbreak_armv4t.patch @@ -1,7 +1,9 @@ http://sourceware.org/ml/crossgcc/2008-05/msg00009.html -Index: b/gcc/config/arm/linux-eabi.h -=================================================================== +--- + gcc/config/arm/linux-eabi.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + --- a/gcc/config/arm/linux-eabi.h +++ b/gcc/config/arm/linux-eabi.h @@ -45,7 +45,7 @@ diff --git a/packages/gcc-linaro/5.4-2017.05/840-microblaze-enable-dwarf-eh-support.patch b/packages/gcc-linaro/5.4-2017.05/0011-microblaze-enable-dwarf-eh-support.patch index 9d29090..67a322a 100644 --- a/packages/gcc-linaro/5.4-2017.05/840-microblaze-enable-dwarf-eh-support.patch +++ b/packages/gcc-linaro/5.4-2017.05/0011-microblaze-enable-dwarf-eh-support.patch @@ -26,15 +26,13 @@ Changelog Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> --- - gcc/common/config/microblaze/microblaze-common.c | 3 --- - gcc/config/microblaze/microblaze-protos.h | 1 + - gcc/config/microblaze/microblaze.c | 29 ++++++++++++++++++++---- - gcc/config/microblaze/microblaze.h | 15 ++++++++++++ - gcc/config/microblaze/microblaze.md | 11 +++++++++ + gcc/common/config/microblaze/microblaze-common.c | 3 -- + gcc/config/microblaze/microblaze-protos.h | 1 + gcc/config/microblaze/microblaze.c | 29 +++++++++++++++++++---- + gcc/config/microblaze/microblaze.h | 15 +++++++++++ + gcc/config/microblaze/microblaze.md | 11 ++++++++ 5 files changed, 52 insertions(+), 7 deletions(-) -Index: b/gcc/common/config/microblaze/microblaze-common.c -=================================================================== --- a/gcc/common/config/microblaze/microblaze-common.c +++ b/gcc/common/config/microblaze/microblaze-common.c @@ -37,7 +37,4 @@ @@ -45,8 +43,6 @@ Index: b/gcc/common/config/microblaze/microblaze-common.c -#define TARGET_EXCEPT_UNWIND_INFO sjlj_except_unwind_info - struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER; -Index: b/gcc/config/microblaze/microblaze-protos.h -=================================================================== --- a/gcc/config/microblaze/microblaze-protos.h +++ b/gcc/config/microblaze/microblaze-protos.h @@ -56,6 +56,7 @@ @@ -57,8 +53,6 @@ Index: b/gcc/config/microblaze/microblaze-protos.h #endif /* RTX_CODE */ /* Declare functions in microblaze-c.c. */ -Index: b/gcc/config/microblaze/microblaze.c -=================================================================== --- a/gcc/config/microblaze/microblaze.c +++ b/gcc/config/microblaze/microblaze.c @@ -1959,6 +1959,11 @@ @@ -118,8 +112,6 @@ Index: b/gcc/config/microblaze/microblaze.c } /* Queue an .ident string in the queue of top-level asm statements. -Index: b/gcc/config/microblaze/microblaze.h -=================================================================== --- a/gcc/config/microblaze/microblaze.h +++ b/gcc/config/microblaze/microblaze.h @@ -184,6 +184,21 @@ @@ -144,8 +136,6 @@ Index: b/gcc/config/microblaze/microblaze.h /* Use DWARF 2 debugging information by default. */ #define DWARF2_DEBUGGING_INFO #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG -Index: b/gcc/config/microblaze/microblaze.md -=================================================================== --- a/gcc/config/microblaze/microblaze.md +++ b/gcc/config/microblaze/microblaze.md @@ -2272,4 +2272,15 @@ diff --git a/packages/gcc-linaro/5.4-2017.05/850-libstdcxx-uclibc-c99.patch b/packages/gcc-linaro/5.4-2017.05/0012-libstdcxx-uclibc-c99.patch index 9e97d94..0b211b9 100644 --- a/packages/gcc-linaro/5.4-2017.05/850-libstdcxx-uclibc-c99.patch +++ b/packages/gcc-linaro/5.4-2017.05/0012-libstdcxx-uclibc-c99.patch @@ -15,8 +15,28 @@ that uClibc defines the __UCLIBC__ definition. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> -Index: b/libstdc++-v3/config/locale/generic/c_locale.h -=================================================================== +--- + libstdc++-v3/config/locale/generic/c_locale.h | 2 +- + libstdc++-v3/config/locale/gnu/c_locale.h | 2 +- + libstdc++-v3/include/bits/basic_string.h | 2 +- + libstdc++-v3/include/bits/locale_facets.tcc | 2 +- + libstdc++-v3/include/bits/locale_facets_nonio.tcc | 2 +- + libstdc++-v3/include/c_compatibility/math.h | 2 +- + libstdc++-v3/include/c_compatibility/wchar.h | 2 +- + libstdc++-v3/include/c_global/cstdio | 2 +- + libstdc++-v3/include/c_global/cstdlib | 2 +- + libstdc++-v3/include/c_global/cwchar | 4 ++-- + libstdc++-v3/include/c_std/cstdio | 2 +- + libstdc++-v3/include/c_std/cstdlib | 2 +- + libstdc++-v3/include/c_std/cwchar | 2 +- + libstdc++-v3/include/ext/vstring.h | 2 +- + libstdc++-v3/include/tr1/cstdio | 2 +- + libstdc++-v3/include/tr1/cstdlib | 2 +- + libstdc++-v3/include/tr1/cwchar | 2 +- + libstdc++-v3/include/tr1/stdlib.h | 2 +- + libstdc++-v3/src/c++11/debug.cc | 2 +- + 19 files changed, 20 insertions(+), 20 deletions(-) + --- a/libstdc++-v3/config/locale/generic/c_locale.h +++ b/libstdc++-v3/config/locale/generic/c_locale.h @@ -70,7 +70,7 @@ @@ -28,8 +48,6 @@ Index: b/libstdc++-v3/config/locale/generic/c_locale.h const int __ret = __builtin_vsnprintf(__out, __size, __fmt, __args); #else const int __ret = __builtin_vsprintf(__out, __fmt, __args); -Index: b/libstdc++-v3/config/locale/gnu/c_locale.h -=================================================================== --- a/libstdc++-v3/config/locale/gnu/c_locale.h +++ b/libstdc++-v3/config/locale/gnu/c_locale.h @@ -88,7 +88,7 @@ @@ -41,11 +59,9 @@ Index: b/libstdc++-v3/config/locale/gnu/c_locale.h const int __ret = __builtin_vsnprintf(__out, __size, __fmt, __args); #else const int __ret = __builtin_vsprintf(__out, __fmt, __args); -Index: b/libstdc++-v3/include/bits/basic_string.h -=================================================================== --- a/libstdc++-v3/include/bits/basic_string.h +++ b/libstdc++-v3/include/bits/basic_string.h -@@ -5239,7 +5239,7 @@ +@@ -5344,7 +5344,7 @@ _GLIBCXX_END_NAMESPACE_VERSION } // namespace @@ -54,8 +70,6 @@ Index: b/libstdc++-v3/include/bits/basic_string.h #include <ext/string_conversions.h> -Index: b/libstdc++-v3/include/bits/locale_facets.tcc -=================================================================== --- a/libstdc++-v3/include/bits/locale_facets.tcc +++ b/libstdc++-v3/include/bits/locale_facets.tcc @@ -992,7 +992,7 @@ @@ -67,8 +81,6 @@ Index: b/libstdc++-v3/include/bits/locale_facets.tcc // Precision is always used except for hexfloat format. const bool __use_prec = (__io.flags() & ios_base::floatfield) != ios_base::floatfield; -Index: b/libstdc++-v3/include/bits/locale_facets_nonio.tcc -=================================================================== --- a/libstdc++-v3/include/bits/locale_facets_nonio.tcc +++ b/libstdc++-v3/include/bits/locale_facets_nonio.tcc @@ -578,7 +578,7 @@ @@ -80,8 +92,6 @@ Index: b/libstdc++-v3/include/bits/locale_facets_nonio.tcc // First try a buffer perhaps big enough. int __cs_size = 64; char* __cs = static_cast<char*>(__builtin_alloca(__cs_size)); -Index: b/libstdc++-v3/include/c_compatibility/math.h -=================================================================== --- a/libstdc++-v3/include/c_compatibility/math.h +++ b/libstdc++-v3/include/c_compatibility/math.h @@ -56,7 +56,7 @@ @@ -93,8 +103,6 @@ Index: b/libstdc++-v3/include/c_compatibility/math.h using std::fpclassify; using std::isfinite; using std::isinf; -Index: b/libstdc++-v3/include/c_compatibility/wchar.h -=================================================================== --- a/libstdc++-v3/include/c_compatibility/wchar.h +++ b/libstdc++-v3/include/c_compatibility/wchar.h @@ -103,7 +103,7 @@ @@ -106,8 +114,6 @@ Index: b/libstdc++-v3/include/c_compatibility/wchar.h using std::wcstold; using std::wcstoll; using std::wcstoull; -Index: b/libstdc++-v3/include/c_global/cstdlib -=================================================================== --- a/libstdc++-v3/include/c_global/cstdlib +++ b/libstdc++-v3/include/c_global/cstdlib @@ -195,7 +195,7 @@ @@ -119,8 +125,6 @@ Index: b/libstdc++-v3/include/c_global/cstdlib #undef _Exit #undef llabs -Index: b/libstdc++-v3/include/c_global/cwchar -=================================================================== --- a/libstdc++-v3/include/c_global/cwchar +++ b/libstdc++-v3/include/c_global/cwchar @@ -232,7 +232,7 @@ @@ -141,8 +145,6 @@ Index: b/libstdc++-v3/include/c_global/cwchar using std::wcstold; using std::wcstoll; using std::wcstoull; -Index: b/libstdc++-v3/include/c_std/cstdio -=================================================================== --- a/libstdc++-v3/include/c_std/cstdio +++ b/libstdc++-v3/include/c_std/cstdio @@ -144,7 +144,7 @@ @@ -154,8 +156,6 @@ Index: b/libstdc++-v3/include/c_std/cstdio #undef snprintf #undef vfscanf -Index: b/libstdc++-v3/include/c_std/cstdlib -=================================================================== --- a/libstdc++-v3/include/c_std/cstdlib +++ b/libstdc++-v3/include/c_std/cstdlib @@ -192,7 +192,7 @@ @@ -167,8 +167,6 @@ Index: b/libstdc++-v3/include/c_std/cstdlib #undef _Exit #undef llabs -Index: b/libstdc++-v3/include/c_std/cwchar -=================================================================== --- a/libstdc++-v3/include/c_std/cwchar +++ b/libstdc++-v3/include/c_std/cwchar @@ -228,7 +228,7 @@ @@ -180,8 +178,6 @@ Index: b/libstdc++-v3/include/c_std/cwchar #undef wcstold #undef wcstoll -Index: b/libstdc++-v3/include/ext/vstring.h -=================================================================== --- a/libstdc++-v3/include/ext/vstring.h +++ b/libstdc++-v3/include/ext/vstring.h @@ -2680,7 +2680,7 @@ @@ -193,8 +189,6 @@ Index: b/libstdc++-v3/include/ext/vstring.h #include <ext/string_conversions.h> -Index: b/libstdc++-v3/include/tr1/cstdio -=================================================================== --- a/libstdc++-v3/include/tr1/cstdio +++ b/libstdc++-v3/include/tr1/cstdio @@ -33,7 +33,7 @@ @@ -206,8 +200,6 @@ Index: b/libstdc++-v3/include/tr1/cstdio namespace std _GLIBCXX_VISIBILITY(default) { -Index: b/libstdc++-v3/include/tr1/cstdlib -=================================================================== --- a/libstdc++-v3/include/tr1/cstdlib +++ b/libstdc++-v3/include/tr1/cstdlib @@ -35,7 +35,7 @@ @@ -219,8 +211,6 @@ Index: b/libstdc++-v3/include/tr1/cstdlib namespace std _GLIBCXX_VISIBILITY(default) { -Index: b/libstdc++-v3/include/tr1/cwchar -=================================================================== --- a/libstdc++-v3/include/tr1/cwchar +++ b/libstdc++-v3/include/tr1/cwchar @@ -52,7 +52,7 @@ @@ -232,8 +222,6 @@ Index: b/libstdc++-v3/include/tr1/cwchar using std::wcstold; using std::wcstoll; using std::wcstoull; -Index: b/libstdc++-v3/include/tr1/stdlib.h -=================================================================== --- a/libstdc++-v3/include/tr1/stdlib.h +++ b/libstdc++-v3/include/tr1/stdlib.h @@ -33,7 +33,7 @@ @@ -245,8 +233,6 @@ Index: b/libstdc++-v3/include/tr1/stdlib.h using std::tr1::atoll; using std::tr1::strtoll; -Index: b/libstdc++-v3/src/c++11/debug.cc -=================================================================== --- a/libstdc++-v3/src/c++11/debug.cc +++ b/libstdc++-v3/src/c++11/debug.cc @@ -788,7 +788,7 @@ @@ -258,8 +244,6 @@ Index: b/libstdc++-v3/src/c++11/debug.cc std::snprintf(__buf, __n, __fmt, __s); #else std::sprintf(__buf, __fmt, __s); -Index: b/libstdc++-v3/include/c_global/cstdio -=================================================================== --- a/libstdc++-v3/include/c_global/cstdio +++ b/libstdc++-v3/include/c_global/cstdio @@ -146,7 +146,7 @@ diff --git a/packages/gcc-linaro/5.4-2017.05/860-cilk-wchar.patch b/packages/gcc-linaro/5.4-2017.05/0013-cilk-wchar.patch index 1d9916f..300837f 100644 --- a/packages/gcc-linaro/5.4-2017.05/860-cilk-wchar.patch +++ b/packages/gcc-linaro/5.4-2017.05/0013-cilk-wchar.patch @@ -10,8 +10,6 @@ Signed-off-by: Peter Korsgaard <peter@korsgaard.com> libcilkrts/include/cilk/reducer_min_max.h | 8 ++++++++ 1 file changed, 8 insertions(+) -Index: b/libcilkrts/include/cilk/reducer_min_max.h -=================================================================== --- a/libcilkrts/include/cilk/reducer_min_max.h +++ b/libcilkrts/include/cilk/reducer_min_max.h @@ -3154,7 +3154,9 @@ diff --git a/packages/gcc-linaro/5.4-2017.05/870-xtensa-add-mauto-litpools-option.patch b/packages/gcc-linaro/5.4-2017.05/0014-xtensa-add-mauto-litpools-option.patch index aa1376c..3db8ec8 100644 --- a/packages/gcc-linaro/5.4-2017.05/870-xtensa-add-mauto-litpools-option.patch +++ b/packages/gcc-linaro/5.4-2017.05/0014-xtensa-add-mauto-litpools-option.patch @@ -39,17 +39,15 @@ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Backported from: r226828 Changes to ChangeLogs and documentation are dropped. - gcc/config/xtensa/constraints.md | 5 +++++ - gcc/config/xtensa/elf.h | 4 +++- - gcc/config/xtensa/linux.h | 4 +++- - gcc/config/xtensa/predicates.md | 3 ++- - gcc/config/xtensa/xtensa.c | 19 ++++++++++++++++++- - gcc/config/xtensa/xtensa.md | 35 +++++++++++++++++++---------------- - gcc/config/xtensa/xtensa.opt | 4 ++++ + gcc/config/xtensa/constraints.md | 5 +++++ + gcc/config/xtensa/elf.h | 4 +++- + gcc/config/xtensa/linux.h | 4 +++- + gcc/config/xtensa/predicates.md | 3 ++- + gcc/config/xtensa/xtensa.c | 19 ++++++++++++++++++- + gcc/config/xtensa/xtensa.md | 35 +++++++++++++++++++---------------- + gcc/config/xtensa/xtensa.opt | 4 ++++ 7 files changed, 54 insertions(+), 20 deletions(-) -diff --git a/gcc/config/xtensa/constraints.md b/gcc/config/xtensa/constraints.md -index 30f4c1f..773d4f9 100644 --- a/gcc/config/xtensa/constraints.md +++ b/gcc/config/xtensa/constraints.md @@ -111,6 +111,11 @@ @@ -64,11 +62,9 @@ index 30f4c1f..773d4f9 100644 ;; Memory constraints. Do not use define_memory_constraint here. Doing so ;; causes reload to force some constants into the constant pool, but since ;; the Xtensa constant pool can only be accessed with L32R instructions, it -diff --git a/gcc/config/xtensa/elf.h b/gcc/config/xtensa/elf.h -index e59bede..12056f7 100644 --- a/gcc/config/xtensa/elf.h +++ b/gcc/config/xtensa/elf.h -@@ -48,7 +48,9 @@ along with GCC; see the file COPYING3. If not see +@@ -48,7 +48,9 @@ %{mtarget-align:--target-align} \ %{mno-target-align:--no-target-align} \ %{mlongcalls:--longcalls} \ @@ -79,11 +75,9 @@ index e59bede..12056f7 100644 #undef LIB_SPEC #define LIB_SPEC "-lc -lsim -lc -lhandlers-sim -lhal" -diff --git a/gcc/config/xtensa/linux.h b/gcc/config/xtensa/linux.h -index 675aacf..5b0243a 100644 --- a/gcc/config/xtensa/linux.h +++ b/gcc/config/xtensa/linux.h -@@ -42,7 +42,9 @@ along with GCC; see the file COPYING3. If not see +@@ -42,7 +42,9 @@ %{mtarget-align:--target-align} \ %{mno-target-align:--no-target-align} \ %{mlongcalls:--longcalls} \ @@ -94,8 +88,6 @@ index 675aacf..5b0243a 100644 #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -diff --git a/gcc/config/xtensa/predicates.md b/gcc/config/xtensa/predicates.md -index e02209e..d7dfa11 100644 --- a/gcc/config/xtensa/predicates.md +++ b/gcc/config/xtensa/predicates.md @@ -142,7 +142,8 @@ @@ -108,11 +100,9 @@ index e02209e..d7dfa11 100644 && GET_MODE_SIZE (mode) % UNITS_PER_WORD == 0"))))) ;; Accept the floating point constant 1 in the appropriate mode. -diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c -index eb039ba..206ff80 100644 --- a/gcc/config/xtensa/xtensa.c +++ b/gcc/config/xtensa/xtensa.c -@@ -501,6 +501,9 @@ xtensa_valid_move (machine_mode mode, rtx *operands) +@@ -501,6 +501,9 @@ { int dst_regnum = xt_true_regnum (operands[0]); @@ -122,7 +112,7 @@ index eb039ba..206ff80 100644 /* The stack pointer can only be assigned with a MOVSP opcode. */ if (dst_regnum == STACK_POINTER_REGNUM) return !TARGET_WINDOWED_ABI -@@ -1069,7 +1072,7 @@ xtensa_emit_move_sequence (rtx *operands, machine_mode mode) +@@ -1069,7 +1072,7 @@ return 1; } @@ -131,7 +121,7 @@ index eb039ba..206ff80 100644 { src = force_const_mem (SImode, src); operands[1] = src; -@@ -2449,6 +2452,20 @@ print_operand (FILE *file, rtx x, int letter) +@@ -2449,6 +2452,20 @@ } break; @@ -152,8 +142,6 @@ index eb039ba..206ff80 100644 default: if (GET_CODE (x) == REG || GET_CODE (x) == SUBREG) fprintf (file, "%s", reg_names[xt_true_regnum (x)]); -diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md -index 6d84384..0e673a3 100644 --- a/gcc/config/xtensa/xtensa.md +++ b/gcc/config/xtensa/xtensa.md @@ -761,8 +761,8 @@ @@ -270,11 +258,9 @@ index 6d84384..0e673a3 100644 "register_operand (operands[0], DFmode) || register_operand (operands[1], DFmode)" "#" -diff --git a/gcc/config/xtensa/xtensa.opt b/gcc/config/xtensa/xtensa.opt -index 2fd6cee..21c6e96 100644 --- a/gcc/config/xtensa/xtensa.opt +++ b/gcc/config/xtensa/xtensa.opt -@@ -38,6 +38,10 @@ mtext-section-literals +@@ -38,6 +38,10 @@ Target Intersperse literal pools with code in the text section @@ -285,6 +271,3 @@ index 2fd6cee..21c6e96 100644 mserialize-volatile Target Report Mask(SERIALIZE_VOLATILE) -mno-serialize-volatile Do not serialize volatile memory references with MEMW instructions --- -1.8.1.4 - diff --git a/packages/gcc-linaro/5.4-2017.05/871-xtensa-reimplement-register-spilling.patch b/packages/gcc-linaro/5.4-2017.05/0015-xtensa-reimplement-register-spilling.patch index 4056f8b..b85ecb9 100644 --- a/packages/gcc-linaro/5.4-2017.05/871-xtensa-reimplement-register-spilling.patch +++ b/packages/gcc-linaro/5.4-2017.05/0015-xtensa-reimplement-register-spilling.patch @@ -19,14 +19,12 @@ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- Backported from: r226962 - libgcc/config/xtensa/lib2funcs.S | 30 +++++++++++++++++++++++------- + libgcc/config/xtensa/lib2funcs.S | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) -diff --git a/libgcc/config/xtensa/lib2funcs.S b/libgcc/config/xtensa/lib2funcs.S -index 4d451c8..ef0703f 100644 --- a/libgcc/config/xtensa/lib2funcs.S +++ b/libgcc/config/xtensa/lib2funcs.S -@@ -34,10 +34,29 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +@@ -34,10 +34,29 @@ .global __xtensa_libgcc_window_spill .type __xtensa_libgcc_window_spill,@function __xtensa_libgcc_window_spill: @@ -51,15 +49,15 @@ index 4d451c8..ef0703f 100644 +#elif XCHAL_NUM_AREGS % 12 == 8 + mov a12, a12 +#endif - retw ++ retw +#else + mov a8, a8 -+ retw + retw +#endif .size __xtensa_libgcc_window_spill, .-__xtensa_libgcc_window_spill #endif -@@ -61,10 +80,7 @@ __xtensa_nonlocal_goto: +@@ -61,10 +80,7 @@ entry sp, 32 /* Flush registers. */ @@ -71,6 +69,3 @@ index 4d451c8..ef0703f 100644 /* Because the save area for a0-a3 is stored one frame below the one identified by a2, the only way to restore those --- -1.8.1.4 - diff --git a/packages/gcc-linaro/5.4-2017.05/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch b/packages/gcc-linaro/5.4-2017.05/0016-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch index 9707f68..96b89e3 100644 --- a/packages/gcc-linaro/5.4-2017.05/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch +++ b/packages/gcc-linaro/5.4-2017.05/0016-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch @@ -15,17 +15,12 @@ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- Backported from: r226963 - libgcc/config/xtensa/t-windowed | 2 +- + libgcc/config/xtensa/t-windowed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/libgcc/config/xtensa/t-windowed b/libgcc/config/xtensa/t-windowed -index 7d9e9db..a99156c 100644 --- a/libgcc/config/xtensa/t-windowed +++ b/libgcc/config/xtensa/t-windowed @@ -1,2 +1,2 @@ LIB2ADDEH = $(srcdir)/config/xtensa/unwind-dw2-xtensa.c \ - $(srcdir)/unwind-dw2-fde.c $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c + $(srcdir)/unwind-dw2-fde-dip.c $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c --- -1.8.1.4 - diff --git a/packages/gcc-linaro/5.4-2017.05/873-xtensa-fix-_Unwind_GetCFA.patch b/packages/gcc-linaro/5.4-2017.05/0017-xtensa-fix-_Unwind_GetCFA.patch index 2d8eb7c..2222fdb 100644 --- a/packages/gcc-linaro/5.4-2017.05/873-xtensa-fix-_Unwind_GetCFA.patch +++ b/packages/gcc-linaro/5.4-2017.05/0017-xtensa-fix-_Unwind_GetCFA.patch @@ -19,14 +19,12 @@ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- Backported from: r226964 - libgcc/config/xtensa/unwind-dw2-xtensa.c | 2 +- + libgcc/config/xtensa/unwind-dw2-xtensa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/libgcc/config/xtensa/unwind-dw2-xtensa.c b/libgcc/config/xtensa/unwind-dw2-xtensa.c -index 82b0e63..8e579c7 100644 --- a/libgcc/config/xtensa/unwind-dw2-xtensa.c +++ b/libgcc/config/xtensa/unwind-dw2-xtensa.c -@@ -130,7 +130,7 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index) +@@ -130,7 +130,7 @@ _Unwind_Word _Unwind_GetCFA (struct _Unwind_Context *context) { @@ -35,6 +33,3 @@ index 82b0e63..8e579c7 100644 } /* Overwrite the saved value for register INDEX in CONTEXT with VAL. */ --- -1.8.1.4 - diff --git a/packages/gcc-linaro/5.4-2017.05/874-xtensa-add-uclinux-support.patch b/packages/gcc-linaro/5.4-2017.05/0018-xtensa-add-uclinux-support.patch index 23db3d8..643eff1 100644 --- a/packages/gcc-linaro/5.4-2017.05/874-xtensa-add-uclinux-support.patch +++ b/packages/gcc-linaro/5.4-2017.05/0018-xtensa-add-uclinux-support.patch @@ -16,19 +16,17 @@ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- Backported from: r228450 - gcc/config.gcc | 5 ++++ - gcc/config/xtensa/uclinux.h | 69 +++++++++++++++++++++++++++++++++++++++++++ - gcc/config/xtensa/uclinux.opt | 32 ++++++++++++++++++++ - libgcc/config.host | 5 ++++ + gcc/config.gcc | 5 +++ + gcc/config/xtensa/uclinux.h | 69 ++++++++++++++++++++++++++++++++++++++++++ + gcc/config/xtensa/uclinux.opt | 32 +++++++++++++++++++ + libgcc/config.host | 5 +++ 4 files changed, 111 insertions(+) create mode 100644 gcc/config/xtensa/uclinux.h create mode 100644 gcc/config/xtensa/uclinux.opt -diff --git a/gcc/config.gcc b/gcc/config.gcc -index c52f5a8..56797bd 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc -@@ -2995,6 +2995,11 @@ xtensa*-*-linux*) +@@ -2976,6 +2976,11 @@ tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h xtensa/linux.h" tmake_file="${tmake_file} xtensa/t-xtensa" ;; @@ -40,9 +38,6 @@ index c52f5a8..56797bd 100644 am33_2.0-*-linux*) tm_file="mn10300/mn10300.h dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h mn10300/linux.h" gas=yes gnu_ld=yes -diff --git a/gcc/config/xtensa/uclinux.h b/gcc/config/xtensa/uclinux.h -new file mode 100644 -index 0000000..4606020 --- /dev/null +++ b/gcc/config/xtensa/uclinux.h @@ -0,0 +1,69 @@ @@ -115,9 +110,6 @@ index 0000000..4606020 + +#undef DBX_REGISTER_NUMBER + -diff --git a/gcc/config/xtensa/uclinux.opt b/gcc/config/xtensa/uclinux.opt -new file mode 100644 -index 0000000..95ef777 --- /dev/null +++ b/gcc/config/xtensa/uclinux.opt @@ -0,0 +1,32 @@ @@ -153,11 +145,9 @@ index 0000000..95ef777 +Driver JoinedOrMissing + +; This comment is to ensure we retain the blank line above. -diff --git a/libgcc/config.host b/libgcc/config.host -index 2c64756..2ee92c1 100644 --- a/libgcc/config.host +++ b/libgcc/config.host -@@ -1295,6 +1295,11 @@ xtensa*-*-linux*) +@@ -1289,6 +1289,11 @@ tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc" md_unwind_header=xtensa/linux-unwind.h ;; @@ -169,6 +159,3 @@ index 2c64756..2ee92c1 100644 am33_2.0-*-linux*) # Don't need crtbeginT.o from *-*-linux* default. extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" --- -1.8.1.4 - diff --git a/packages/gcc-linaro/5.4-2017.05/875-xtensa-fix-xtensa_fallback_frame_state-for-call0-ABI.patch b/packages/gcc-linaro/5.4-2017.05/0019-xtensa-fix-xtensa_fallback_frame_state-for-call0-ABI.patch index d128596..2b46a29 100644 --- a/packages/gcc-linaro/5.4-2017.05/875-xtensa-fix-xtensa_fallback_frame_state-for-call0-ABI.patch +++ b/packages/gcc-linaro/5.4-2017.05/0019-xtensa-fix-xtensa_fallback_frame_state-for-call0-ABI.patch @@ -18,15 +18,13 @@ git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227809 138bc75d-0d04-0410-961f-8 Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- - gcc/config/xtensa/xtensa.h | 4 +++- - libgcc/config/xtensa/linux-unwind.h | 30 ++++++++++++++++++++++++++++-- + gcc/config/xtensa/xtensa.h | 4 +++- + libgcc/config/xtensa/linux-unwind.h | 30 ++++++++++++++++++++++++++++-- 2 files changed, 31 insertions(+), 3 deletions(-) -diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h -index 584080b..e165def 100644 --- a/gcc/config/xtensa/xtensa.h +++ b/gcc/config/xtensa/xtensa.h -@@ -813,7 +813,9 @@ typedef struct xtensa_args +@@ -813,7 +813,9 @@ for debugging. */ #define INCOMING_RETURN_ADDR_RTX gen_rtx_REG (Pmode, 0) #define DWARF_FRAME_RETURN_COLUMN DWARF_FRAME_REGNUM (0) @@ -37,11 +35,9 @@ index 584080b..e165def 100644 #define EH_RETURN_DATA_REGNO(N) ((N) < 2 ? (N) + 2 : INVALID_REGNUM) #define ASM_PREFERRED_EH_DATA_FORMAT(CODE, GLOBAL) \ (flag_pic \ -diff --git a/libgcc/config/xtensa/linux-unwind.h b/libgcc/config/xtensa/linux-unwind.h -index 9daf738..9a67b5d 100644 --- a/libgcc/config/xtensa/linux-unwind.h +++ b/libgcc/config/xtensa/linux-unwind.h -@@ -52,7 +52,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +@@ -52,7 +52,6 @@ #define ENTRY_BYTE 0x36 #endif @@ -49,7 +45,7 @@ index 9daf738..9a67b5d 100644 #define MD_FALLBACK_FRAME_STATE_FOR xtensa_fallback_frame_state static _Unwind_Reason_Code -@@ -61,6 +60,10 @@ xtensa_fallback_frame_state (struct _Unwind_Context *context, +@@ -61,6 +60,10 @@ { unsigned char *pc = context->ra; struct sigcontext *sc; @@ -60,7 +56,7 @@ index 9daf738..9a67b5d 100644 struct rt_sigframe { siginfo_t info; -@@ -76,6 +79,7 @@ xtensa_fallback_frame_state (struct _Unwind_Context *context, +@@ -76,6 +79,7 @@ || pc[5] != SYSC_BYTE2) return _URC_END_OF_STACK; @@ -68,7 +64,7 @@ index 9daf738..9a67b5d 100644 rt_ = context->sp; sc = &rt_->uc.uc_mcontext; fs->signal_regs = (_Unwind_Word *) sc->sc_a; -@@ -90,11 +94,33 @@ xtensa_fallback_frame_state (struct _Unwind_Context *context, +@@ -90,11 +94,33 @@ } else fs->signal_ra = sc->sc_pc; @@ -103,6 +99,3 @@ index 9daf738..9a67b5d 100644 -#endif /* __XTENSA_WINDOWED_ABI__ */ #endif /* ifdef inhibit_libc */ --- -2.1.4 - diff --git a/packages/gcc-linaro/5.4-2017.05/876-xtensa-fix-libgcc-build-with-text-section-literals.patch b/packages/gcc-linaro/5.4-2017.05/0020-xtensa-fix-libgcc-build-with-text-section-literals.patch index 4b2334a..6ccede3 100644 --- a/packages/gcc-linaro/5.4-2017.05/876-xtensa-fix-libgcc-build-with-text-section-literals.patch +++ b/packages/gcc-linaro/5.4-2017.05/0020-xtensa-fix-libgcc-build-with-text-section-literals.patch @@ -18,15 +18,13 @@ git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233505 138bc75d-0d04-0410-961f-8 Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- - libgcc/config/xtensa/ieee754-df.S | 2 ++ - libgcc/config/xtensa/ieee754-sf.S | 2 ++ + libgcc/config/xtensa/ieee754-df.S | 2 ++ + libgcc/config/xtensa/ieee754-sf.S | 2 ++ 2 files changed, 4 insertions(+) -diff --git a/libgcc/config/xtensa/ieee754-df.S b/libgcc/config/xtensa/ieee754-df.S -index a7ae209..26f2abd 100644 --- a/libgcc/config/xtensa/ieee754-df.S +++ b/libgcc/config/xtensa/ieee754-df.S -@@ -606,6 +606,7 @@ __subdf3: +@@ -606,6 +606,7 @@ #define XCHAL_NO_MUL 1 #endif @@ -34,7 +32,7 @@ index a7ae209..26f2abd 100644 __muldf3_aux: /* Handle unusual cases (zeros, subnormals, NaNs and Infinities). -@@ -1216,6 +1217,7 @@ __muldf3: +@@ -1216,6 +1217,7 @@ #ifdef L_divdf3 @@ -42,11 +40,9 @@ index a7ae209..26f2abd 100644 /* Division */ __divdf3_aux: -diff --git a/libgcc/config/xtensa/ieee754-sf.S b/libgcc/config/xtensa/ieee754-sf.S -index 7e397dc..a5e6e3c 100644 --- a/libgcc/config/xtensa/ieee754-sf.S +++ b/libgcc/config/xtensa/ieee754-sf.S -@@ -487,6 +487,7 @@ __subsf3: +@@ -487,6 +487,7 @@ #define XCHAL_NO_MUL 1 #endif @@ -54,7 +50,7 @@ index 7e397dc..a5e6e3c 100644 __mulsf3_aux: /* Handle unusual cases (zeros, subnormals, NaNs and Infinities). -@@ -884,6 +885,7 @@ __mulsf3: +@@ -884,6 +885,7 @@ #ifdef L_divsf3 @@ -62,6 +58,3 @@ index 7e397dc..a5e6e3c 100644 /* Division */ __divsf3_aux: --- -2.1.4 - diff --git a/packages/gcc-linaro/5.4-2017.05/877-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch b/packages/gcc-linaro/5.4-2017.05/0021-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch index 6e0ce6e..9792779 100644 --- a/packages/gcc-linaro/5.4-2017.05/877-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch +++ b/packages/gcc-linaro/5.4-2017.05/0021-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch @@ -26,37 +26,28 @@ git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241313 138bc75d-0d04-0410-961f-8 Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- - libgcc/config/xtensa/t-elf | 2 ++ - libgcc/config/xtensa/t-linux | 2 ++ - libgcc/config/xtensa/t-windowed | 2 +- + libgcc/config/xtensa/t-elf | 2 ++ + libgcc/config/xtensa/t-linux | 2 ++ + libgcc/config/xtensa/t-windowed | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) -diff --git a/libgcc/config/xtensa/t-elf b/libgcc/config/xtensa/t-elf -index 59d5121..967cf9b 100644 --- a/libgcc/config/xtensa/t-elf +++ b/libgcc/config/xtensa/t-elf -@@ -3,3 +3,5 @@ CRTSTUFF_T_CFLAGS += -mlongcalls +@@ -3,3 +3,5 @@ CRTSTUFF_T_CFLAGS_S += -mlongcalls HOST_LIBGCC2_CFLAGS += -mlongcalls + +LIB2ADDEH_XTENSA_UNWIND_DW2_FDE = $(srcdir)/unwind-dw2-fde.c -diff --git a/libgcc/config/xtensa/t-linux b/libgcc/config/xtensa/t-linux -index 6f4ae89..412ecca 100644 --- a/libgcc/config/xtensa/t-linux +++ b/libgcc/config/xtensa/t-linux @@ -1 +1,3 @@ SHLIB_MAPFILES += $(srcdir)/config/xtensa/libgcc-glibc.ver + +LIB2ADDEH_XTENSA_UNWIND_DW2_FDE = $(srcdir)/unwind-dw2-fde-dip.c -diff --git a/libgcc/config/xtensa/t-windowed b/libgcc/config/xtensa/t-windowed -index a99156c..f140136 100644 --- a/libgcc/config/xtensa/t-windowed +++ b/libgcc/config/xtensa/t-windowed @@ -1,2 +1,2 @@ LIB2ADDEH = $(srcdir)/config/xtensa/unwind-dw2-xtensa.c \ - $(srcdir)/unwind-dw2-fde-dip.c $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c + $(LIB2ADDEH_XTENSA_UNWIND_DW2_FDE) $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c --- -2.1.4 - diff --git a/packages/gcc-linaro/5.4-2017.05/878-xtensa-Fix-PR-target-78603.patch b/packages/gcc-linaro/5.4-2017.05/0022-xtensa-Fix-PR-target-78603.patch index 4646d3c..cd840f8 100644 --- a/packages/gcc-linaro/5.4-2017.05/878-xtensa-Fix-PR-target-78603.patch +++ b/packages/gcc-linaro/5.4-2017.05/0022-xtensa-Fix-PR-target-78603.patch @@ -11,14 +11,12 @@ gcc/ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- - gcc/config/xtensa/xtensa.c | 5 ++++- + gcc/config/xtensa/xtensa.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c -index 206ff80..36ab1e3 100644 --- a/gcc/config/xtensa/xtensa.c +++ b/gcc/config/xtensa/xtensa.c -@@ -4182,7 +4182,10 @@ hwloop_optimize (hwloop_info loop) +@@ -4182,7 +4182,10 @@ entry_after = BB_END (entry_bb); while (DEBUG_INSN_P (entry_after) || (NOTE_P (entry_after) @@ -30,6 +28,3 @@ index 206ff80..36ab1e3 100644 entry_after = PREV_INSN (entry_after); emit_insn_after (seq, entry_after); --- -2.1.4 - diff --git a/packages/gcc-linaro/5.4-2017.05/879-gcc-xtensa-fix-fprintf-format-specifiers.patch b/packages/gcc-linaro/5.4-2017.05/0023-gcc-xtensa-fix-fprintf-format-specifiers.patch index e75e258..a14b3cf 100644 --- a/packages/gcc-linaro/5.4-2017.05/879-gcc-xtensa-fix-fprintf-format-specifiers.patch +++ b/packages/gcc-linaro/5.4-2017.05/0023-gcc-xtensa-fix-fprintf-format-specifiers.patch @@ -17,14 +17,12 @@ gcc/ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- - gcc/config/xtensa/xtensa.c | 11 ++++++----- + gcc/config/xtensa/xtensa.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) -diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c -index 36ab1e3..8e62d63 100644 --- a/gcc/config/xtensa/xtensa.c +++ b/gcc/config/xtensa/xtensa.c -@@ -1811,7 +1811,8 @@ xtensa_emit_call (int callop, rtx *operands) +@@ -1811,7 +1811,8 @@ rtx tgt = operands[callop]; if (GET_CODE (tgt) == CONST_INT) @@ -34,7 +32,7 @@ index 36ab1e3..8e62d63 100644 else if (register_operand (tgt, VOIDmode)) sprintf (result, "callx%d\t%%%d", WINDOW_SIZE, callop); else -@@ -2382,14 +2383,14 @@ print_operand (FILE *file, rtx x, int letter) +@@ -2382,14 +2383,14 @@ case 'L': if (GET_CODE (x) == CONST_INT) @@ -51,7 +49,7 @@ index 36ab1e3..8e62d63 100644 else output_operand_lossage ("invalid %%R value"); break; -@@ -2403,7 +2404,7 @@ print_operand (FILE *file, rtx x, int letter) +@@ -2403,7 +2404,7 @@ case 'd': if (GET_CODE (x) == CONST_INT) @@ -60,7 +58,7 @@ index 36ab1e3..8e62d63 100644 else output_operand_lossage ("invalid %%d value"); break; -@@ -2472,7 +2473,7 @@ print_operand (FILE *file, rtx x, int letter) +@@ -2472,7 +2473,7 @@ else if (GET_CODE (x) == MEM) output_address (XEXP (x, 0)); else if (GET_CODE (x) == CONST_INT) @@ -69,6 +67,3 @@ index 36ab1e3..8e62d63 100644 else output_addr_const (file, x); } --- -2.1.4 - diff --git a/packages/gcc-linaro/5.4-2017.05/880-xtensa-fix-PR-target-82181.patch b/packages/gcc-linaro/5.4-2017.05/0024-xtensa-fix-PR-target-82181.patch index b8c2263..0717f35 100644 --- a/packages/gcc-linaro/5.4-2017.05/880-xtensa-fix-PR-target-82181.patch +++ b/packages/gcc-linaro/5.4-2017.05/0024-xtensa-fix-PR-target-82181.patch @@ -11,14 +11,12 @@ gcc/ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- - gcc/config/xtensa/xtensa.c | 1 + + gcc/config/xtensa/xtensa.c | 1 + 1 file changed, 1 insertion(+) -diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c -index 8e62d631bce0..a30aa1bcfc33 100644 --- a/gcc/config/xtensa/xtensa.c +++ b/gcc/config/xtensa/xtensa.c -@@ -637,6 +637,7 @@ xtensa_mem_offset (unsigned v, machine_mode mode) +@@ -637,6 +637,7 @@ case HImode: return xtensa_uimm8x2 (v); @@ -26,6 +24,3 @@ index 8e62d631bce0..a30aa1bcfc33 100644 case DFmode: return (xtensa_uimm8x4 (v) && xtensa_uimm8x4 (v + 4)); --- -2.1.4 - diff --git a/packages/gcc-linaro/5.4-2017.05/890-fix-m68k-compile.patch b/packages/gcc-linaro/5.4-2017.05/0025-fix-m68k-compile.patch index 6e63de0..9437f25 100644 --- a/packages/gcc-linaro/5.4-2017.05/890-fix-m68k-compile.patch +++ b/packages/gcc-linaro/5.4-2017.05/0025-fix-m68k-compile.patch @@ -2,9 +2,12 @@ remove unused header, which breaks the toolchain building Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> -diff -Nur gcc-5.3.0.orig/libgcc/config/m68k/linux-atomic.c gcc-5.3.0/libgcc/config/m68k/linux-atomic.c ---- gcc-5.3.0.orig/libgcc/config/m68k/linux-atomic.c 2015-01-05 13:33:28.000000000 +0100 -+++ gcc-5.3.0/libgcc/config/m68k/linux-atomic.c 2016-03-19 09:25:07.000000000 +0100 +--- + libgcc/config/m68k/linux-atomic.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/libgcc/config/m68k/linux-atomic.c ++++ b/libgcc/config/m68k/linux-atomic.c @@ -33,7 +33,6 @@ using the kernel helper defined below. There is no support for 64-bit operations yet. */ diff --git a/packages/gcc-linaro/5.4-2017.05/891-fix-m68k-uclinux.patch b/packages/gcc-linaro/5.4-2017.05/0026-fix-m68k-uclinux.patch index 4e186bd..8a6309e 100644 --- a/packages/gcc-linaro/5.4-2017.05/891-fix-m68k-uclinux.patch +++ b/packages/gcc-linaro/5.4-2017.05/0026-fix-m68k-uclinux.patch @@ -4,10 +4,13 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53833 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> -diff -Nur gcc-5.3.0.orig/libgcc/config.host gcc-5.3.0/libgcc/config.host ---- gcc-5.3.0.orig/libgcc/config.host 2015-10-01 14:01:18.000000000 +0200 -+++ gcc-5.3.0/libgcc/config.host 2016-04-26 21:30:25.353691745 +0200 -@@ -794,7 +794,7 @@ +--- + libgcc/config.host | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/libgcc/config.host ++++ b/libgcc/config.host +@@ -808,7 +808,7 @@ m68k*-*-openbsd*) ;; m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc diff --git a/packages/gcc-linaro/5.4-2017.05/892-microblaze-uclibc.patch b/packages/gcc-linaro/5.4-2017.05/0027-microblaze-uclibc.patch index a8eb5a6..91d0aa4 100644 --- a/packages/gcc-linaro/5.4-2017.05/892-microblaze-uclibc.patch +++ b/packages/gcc-linaro/5.4-2017.05/0027-microblaze-uclibc.patch @@ -2,9 +2,12 @@ Add dynamic linker support for uClibc Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org> -diff -Nur gcc-5.3.0.orig/gcc/config/microblaze/linux.h gcc-5.3.0/gcc/config/microblaze/linux.h ---- gcc-5.3.0.orig/gcc/config/microblaze/linux.h 2015-05-28 16:08:19.000000000 +0200 -+++ gcc-5.3.0/gcc/config/microblaze/linux.h 2016-05-13 09:21:01.579262885 +0200 +--- + gcc/config/microblaze/linux.h | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +--- a/gcc/config/microblaze/linux.h ++++ b/gcc/config/microblaze/linux.h @@ -28,7 +28,15 @@ #undef TLS_NEEDS_GOT #define TLS_NEEDS_GOT 1 diff --git a/packages/gcc-linaro/5.4-2017.05/902-unwind-fix-for-musl.patch b/packages/gcc-linaro/5.4-2017.05/0028-unwind-fix-for-musl.patch index ef47054..d6c63a0 100644 --- a/packages/gcc-linaro/5.4-2017.05/902-unwind-fix-for-musl.patch +++ b/packages/gcc-linaro/5.4-2017.05/0028-unwind-fix-for-musl.patch @@ -17,11 +17,13 @@ On behalf of szabolcs.nagy@arm.com git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222328 138bc75d-0d04-0410-961f-82ee72b054a4 --- -Index: b/libgcc/unwind-dw2-fde-dip.c -=================================================================== +--- + libgcc/unwind-dw2-fde-dip.c | 6 ++++++ + 1 file changed, 6 insertions(+) + --- a/libgcc/unwind-dw2-fde-dip.c +++ b/libgcc/unwind-dw2-fde-dip.c -@@ -59,6 +59,12 @@ +@@ -65,6 +65,12 @@ #if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \ && defined(TARGET_DL_ITERATE_PHDR) \ diff --git a/packages/gcc-linaro/5.4-2017.05/910-nios2-bad-multilib-default.patch b/packages/gcc-linaro/5.4-2017.05/0029-nios2-bad-multilib-default.patch index d94697f..5dfe211 100644 --- a/packages/gcc-linaro/5.4-2017.05/910-nios2-bad-multilib-default.patch +++ b/packages/gcc-linaro/5.4-2017.05/0029-nios2-bad-multilib-default.patch @@ -1,6 +1,10 @@ -diff -urpN gcc-5.3.0.orig/gcc/config/nios2/nios2.h gcc-5.3.0/gcc/config/nios2/nios2.h ---- gcc-5.3.0.orig/gcc/config/nios2/nios2.h 2016-04-18 10:32:41.046254061 -0700 -+++ gcc-5.3.0/gcc/config/nios2/nios2.h 2016-04-18 10:37:25.998841674 -0700 +--- + gcc/config/nios2/nios2.h | 4 ++-- + gcc/config/nios2/t-nios2 | 3 +-- + 2 files changed, 3 insertions(+), 4 deletions(-) + +--- a/gcc/config/nios2/nios2.h ++++ b/gcc/config/nios2/nios2.h @@ -55,11 +55,11 @@ #if TARGET_ENDIAN_DEFAULT == 0 # define ASM_SPEC "%{!meb:-EL} %{meb:-EB}" @@ -15,9 +19,8 @@ diff -urpN gcc-5.3.0.orig/gcc/config/nios2/nios2.h gcc-5.3.0/gcc/config/nios2/ni #endif #define LINK_SPEC LINK_SPEC_ENDIAN \ -diff -urpN gcc-5.3.0.orig/gcc/config/nios2/t-nios2 gcc-5.3.0/gcc/config/nios2/t-nios2 ---- gcc-5.3.0.orig/gcc/config/nios2/t-nios2 2016-04-18 10:32:41.046254061 -0700 -+++ gcc-5.3.0/gcc/config/nios2/t-nios2 2016-04-18 10:36:41.091312157 -0700 +--- a/gcc/config/nios2/t-nios2 ++++ b/gcc/config/nios2/t-nios2 @@ -22,6 +22,5 @@ # MULTILIB_DIRNAMES = nomul mulx fpu-60-1 fpu-60-2 # MULTILIB_EXCEPTIONS = diff --git a/packages/gcc-linaro/5.4-2017.05/930-libgcc-disable-split-stack-nothreads.patch b/packages/gcc-linaro/5.4-2017.05/0030-libgcc-disable-split-stack-nothreads.patch index 07f9a73..df91a9f 100644 --- a/packages/gcc-linaro/5.4-2017.05/930-libgcc-disable-split-stack-nothreads.patch +++ b/packages/gcc-linaro/5.4-2017.05/0030-libgcc-disable-split-stack-nothreads.patch @@ -2,9 +2,12 @@ disable split-stack for non-thread builds Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> -diff -Nur gcc-5.3.0.orig/libgcc/config/t-stack gcc-5.3.0/libgcc/config/t-stack ---- gcc-5.3.0.orig/libgcc/config/t-stack 2010-10-01 21:31:49.000000000 +0200 -+++ gcc-5.3.0/libgcc/config/t-stack 2016-03-07 03:25:32.000000000 +0100 +--- + libgcc/config/t-stack | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/libgcc/config/t-stack ++++ b/libgcc/config/t-stack @@ -1,4 +1,6 @@ # Makefile fragment to provide generic support for -fsplit-stack. # This should be used in config.host for any host which supports diff --git a/packages/gcc-linaro/5.4-2017.05/940-uclinux-enable-threads.patch b/packages/gcc-linaro/5.4-2017.05/0031-uclinux-enable-threads.patch index 490a55b..0addac9 100644 --- a/packages/gcc-linaro/5.4-2017.05/940-uclinux-enable-threads.patch +++ b/packages/gcc-linaro/5.4-2017.05/0031-uclinux-enable-threads.patch @@ -4,10 +4,13 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71721 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> -diff -Nur gcc-5.4.0.orig/gcc/config.gcc gcc-5.4.0/gcc/config.gcc ---- gcc-5.4.0.orig/gcc/config.gcc 2015-09-10 16:17:53.000000000 +0200 -+++ gcc-5.4.0/gcc/config.gcc 2016-07-01 21:26:02.772958441 +0200 -@@ -808,6 +808,9 @@ +--- + gcc/config.gcc | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/gcc/config.gcc ++++ b/gcc/config.gcc +@@ -818,6 +818,9 @@ *-*-uclinux*) extra_options="$extra_options gnu-user.opt" use_gcc_stdint=wrap diff --git a/packages/gcc-linaro/5.4-2017.05/380-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc-linaro/5.4-2017.05/380-gcc-plugin-POSIX-include-sys-select-h.patch deleted file mode 100644 index 12ef48e..0000000 --- a/packages/gcc-linaro/5.4-2017.05/380-gcc-plugin-POSIX-include-sys-select-h.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -urN gcc-5.3.0.orig/libcc1/connection.cc gcc-5.3.0/libcc1/connection.cc ---- gcc-5.3.0.orig/libcc1/connection.cc 2015-12-19 14:40:20.860479600 +0000 -+++ gcc-5.3.0/libcc1/connection.cc 2015-12-20 01:31:04.346611500 +0000 -@@ -21,6 +21,7 @@ - #include <string> - #include <unistd.h> - #include <sys/types.h> -+#include <sys/select.h> - #include <string.h> - #include <errno.h> - #include "marshall.hh" |