summaryrefslogtreecommitdiff
path: root/packages/gcc
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-10-23 20:02:01 (GMT)
committerAlexey Neyman <stilor@att.net>2017-10-23 20:02:01 (GMT)
commit8e5de7fcbf123c52fe74666396cebbd21a9d34aa (patch)
tree021618d4d519d6ab2cc5e2909fd2a530397b2c44 /packages/gcc
parent6a8eb24df62ed45e175c10212b529134d3b7405e (diff)
Upgrades: gcc 5.5, gdb 8.0.1, musl 1.1.17, Linux
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/gcc')
-rw-r--r--packages/gcc/5.4.0/0001-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch188
-rw-r--r--packages/gcc/5.4.0/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch31
-rw-r--r--packages/gcc/5.4.0/873-xtensa-fix-_Unwind_GetCFA.patch40
-rw-r--r--packages/gcc/5.4.0/875-xtensa-fix-xtensa_fallback_frame_state-for-call0-ABI.patch108
-rw-r--r--packages/gcc/5.4.0/876-xtensa-fix-libgcc-build-with-text-section-literals.patch67
-rw-r--r--packages/gcc/5.4.0/877-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch62
-rw-r--r--packages/gcc/5.4.0/878-xtensa-Fix-PR-target-78603.patch35
-rw-r--r--packages/gcc/5.4.0/879-gcc-xtensa-fix-fprintf-format-specifiers.patch74
-rw-r--r--packages/gcc/5.4.0/880-xtensa-fix-PR-target-82181.patch31
-rw-r--r--packages/gcc/5.4.0/chksum8
-rw-r--r--packages/gcc/5.4.0/version.desc1
-rw-r--r--packages/gcc/5.5.0/100-uclibc-conf.patch (renamed from packages/gcc/5.4.0/100-uclibc-conf.patch)0
-rw-r--r--packages/gcc/5.5.0/1000-libtool-leave-framework-alone.patch (renamed from packages/gcc/5.4.0/1000-libtool-leave-framework-alone.patch)0
-rw-r--r--packages/gcc/5.5.0/110-xtensa-implement-trap-pattern.patch (renamed from packages/gcc/5.4.0/110-xtensa-implement-trap-pattern.patch)0
-rw-r--r--packages/gcc/5.5.0/1100-msp430-string-literals.patch (renamed from packages/gcc/5.4.0/1100-msp430-string-literals.patch)0
-rw-r--r--packages/gcc/5.5.0/111-alpha-bad-eh_frame.patch (renamed from packages/gcc/5.4.0/111-alpha-bad-eh_frame.patch)0
-rw-r--r--packages/gcc/5.5.0/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch (renamed from packages/gcc/5.4.0/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch)0
-rw-r--r--packages/gcc/5.5.0/301-missing-execinfo_h.patch (renamed from packages/gcc/5.4.0/301-missing-execinfo_h.patch)0
-rw-r--r--packages/gcc/5.5.0/370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (renamed from packages/gcc/5.4.0/370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch)0
-rw-r--r--packages/gcc/5.5.0/380-gcc-plugin-POSIX-include-sys-select-h.patch (renamed from packages/gcc/5.4.0/380-gcc-plugin-POSIX-include-sys-select-h.patch)0
-rw-r--r--packages/gcc/5.5.0/810-arm-softfloat-libgcc.patch (renamed from packages/gcc/5.4.0/810-arm-softfloat-libgcc.patch)0
-rw-r--r--packages/gcc/5.5.0/830-arm_unbreak_armv4t.patch (renamed from packages/gcc/5.4.0/830-arm_unbreak_armv4t.patch)0
-rw-r--r--packages/gcc/5.5.0/840-microblaze-enable-dwarf-eh-support.patch (renamed from packages/gcc/5.4.0/840-microblaze-enable-dwarf-eh-support.patch)0
-rw-r--r--packages/gcc/5.5.0/850-libstdcxx-uclibc-c99.patch (renamed from packages/gcc/5.4.0/850-libstdcxx-uclibc-c99.patch)0
-rw-r--r--packages/gcc/5.5.0/860-cilk-wchar.patch (renamed from packages/gcc/5.4.0/860-cilk-wchar.patch)0
-rw-r--r--packages/gcc/5.5.0/870-xtensa-add-mauto-litpools-option.patch (renamed from packages/gcc/5.4.0/870-xtensa-add-mauto-litpools-option.patch)0
-rw-r--r--packages/gcc/5.5.0/871-xtensa-reimplement-register-spilling.patch (renamed from packages/gcc/5.4.0/871-xtensa-reimplement-register-spilling.patch)0
-rw-r--r--packages/gcc/5.5.0/874-xtensa-add-uclinux-support.patch (renamed from packages/gcc/5.4.0/874-xtensa-add-uclinux-support.patch)0
-rw-r--r--packages/gcc/5.5.0/890-fix-m68k-compile.patch (renamed from packages/gcc/5.4.0/890-fix-m68k-compile.patch)0
-rw-r--r--packages/gcc/5.5.0/891-fix-m68k-uclinux.patch (renamed from packages/gcc/5.4.0/891-fix-m68k-uclinux.patch)0
-rw-r--r--packages/gcc/5.5.0/892-microblaze-uclibc.patch (renamed from packages/gcc/5.4.0/892-microblaze-uclibc.patch)0
-rw-r--r--packages/gcc/5.5.0/900-libitm-fixes-for-musl-support.patch (renamed from packages/gcc/5.4.0/900-libitm-fixes-for-musl-support.patch)0
-rw-r--r--packages/gcc/5.5.0/901-fixincludes-update-for-musl-support.patch (renamed from packages/gcc/5.4.0/901-fixincludes-update-for-musl-support.patch)0
-rw-r--r--packages/gcc/5.5.0/902-unwind-fix-for-musl.patch (renamed from packages/gcc/5.4.0/902-unwind-fix-for-musl.patch)0
-rw-r--r--packages/gcc/5.5.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch (renamed from packages/gcc/5.4.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch)0
-rw-r--r--packages/gcc/5.5.0/904-musl-libc-config.patch (renamed from packages/gcc/5.4.0/904-musl-libc-config.patch)0
-rw-r--r--packages/gcc/5.5.0/905-add-musl-support-to-gcc.patch (renamed from packages/gcc/5.4.0/905-add-musl-support-to-gcc.patch)0
-rw-r--r--packages/gcc/5.5.0/906-mips-musl-support.patch (renamed from packages/gcc/5.4.0/906-mips-musl-support.patch)0
-rw-r--r--packages/gcc/5.5.0/907-x86-musl-support.patch (renamed from packages/gcc/5.4.0/907-x86-musl-support.patch)0
-rw-r--r--packages/gcc/5.5.0/908-arm-musl-support.patch (renamed from packages/gcc/5.4.0/908-arm-musl-support.patch)0
-rw-r--r--packages/gcc/5.5.0/909-aarch64-musl-support.patch (renamed from packages/gcc/5.4.0/909-aarch64-musl-support.patch)0
-rw-r--r--packages/gcc/5.5.0/910-nios2-bad-multilib-default.patch (renamed from packages/gcc/5.4.0/910-nios2-bad-multilib-default.patch)0
-rw-r--r--packages/gcc/5.5.0/930-libgcc-disable-split-stack-nothreads.patch (renamed from packages/gcc/5.4.0/930-libgcc-disable-split-stack-nothreads.patch)0
-rw-r--r--packages/gcc/5.5.0/940-uclinux-enable-threads.patch (renamed from packages/gcc/5.4.0/940-uclinux-enable-threads.patch)0
-rw-r--r--packages/gcc/5.5.0/chksum8
-rw-r--r--packages/gcc/5.5.0/version.desc0
46 files changed, 8 insertions, 645 deletions
diff --git a/packages/gcc/5.4.0/0001-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch b/packages/gcc/5.4.0/0001-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch
deleted file mode 100644
index 1a6f7e5..0000000
--- a/packages/gcc/5.4.0/0001-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch
+++ /dev/null
@@ -1,188 +0,0 @@
-From 3c784ee4ffc784037d6d0f022326b95b848fbfc3 Mon Sep 17 00:00:00 2001
-From: jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Tue, 4 Jul 2017 10:25:10 +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-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 +-
- 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,
- struct rt_sigframe
- {
- siginfo_t info;
-- struct ucontext uc;
-+ ucontext_t uc;
- };
-
- 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,
- {
- struct rt_sigframe {
- siginfo_t info;
-- struct ucontext uc;
-+ ucontext_t uc;
- } *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,
- 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.
-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,
- 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 @@ x86_fallback_frame_state (struct _Unwind_Context *context,
- 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
-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
- /* <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];
-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 {
-
- 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 */
-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,
- struct sigcontext *sc;
- struct rt_sigframe {
- siginfo_t info;
-- struct ucontext uc;
-+ ucontext_t uc;
- } *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,
- {
- 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
-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,
- 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. */
-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,
-
- struct rt_sigframe {
- siginfo_t info;
-- struct ucontext uc;
-+ ucontext_t uc;
- } *rt_;
-
- /* movi a2, __NR_rt_sigreturn; syscall */
---
-2.14.1
-
diff --git a/packages/gcc/5.4.0/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch b/packages/gcc/5.4.0/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch
deleted file mode 100644
index 9707f68..0000000
--- a/packages/gcc/5.4.0/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 7d7a85f75ba218df4a4226e95865fc8fa561cb86 Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Fri, 14 Aug 2015 02:45:02 +0300
-Subject: [PATCH 2/3] xtensa: use unwind-dw2-fde-dip instead of unwind-dw2-fde
-
-This allows having exception cleanup code in binaries that don't
-register their unwind tables.
-
-2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
-libgcc/
- * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
- with unwind-dw2-fde-dip.
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
-Backported from: r226963
-
- 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/5.4.0/873-xtensa-fix-_Unwind_GetCFA.patch b/packages/gcc/5.4.0/873-xtensa-fix-_Unwind_GetCFA.patch
deleted file mode 100644
index 2d8eb7c..0000000
--- a/packages/gcc/5.4.0/873-xtensa-fix-_Unwind_GetCFA.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From b33905dc310f475ddbde4c9fb7230724b2068a2b Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Sat, 15 Aug 2015 05:12:11 +0300
-Subject: [PATCH 3/3] xtensa: fix _Unwind_GetCFA
-
-Returning context->cfa in _Unwind_GetCFA makes CFA point one stack frame
-higher than what was actually used by code at context->ra. This results
-in invalid CFA value in signal frames and premature unwinding completion
-in forced unwinding used by uClibc NPTL thread cancellation.
-Returning context->sp from _Unwind_GetCFA makes all CFA values valid and
-matching code that used them.
-
-2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
-libgcc/
- * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
- context->sp instead of context->cfa.
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
-Backported from: r226964
-
- 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)
- _Unwind_Word
- _Unwind_GetCFA (struct _Unwind_Context *context)
- {
-- return (_Unwind_Ptr) context->cfa;
-+ return (_Unwind_Ptr) context->sp;
- }
-
- /* Overwrite the saved value for register INDEX in CONTEXT with VAL. */
---
-1.8.1.4
-
diff --git a/packages/gcc/5.4.0/875-xtensa-fix-xtensa_fallback_frame_state-for-call0-ABI.patch b/packages/gcc/5.4.0/875-xtensa-fix-xtensa_fallback_frame_state-for-call0-ABI.patch
deleted file mode 100644
index d128596..0000000
--- a/packages/gcc/5.4.0/875-xtensa-fix-xtensa_fallback_frame_state-for-call0-ABI.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-From 7d3692c6933f7ff87bf110dede8e33e922b164c6 Mon Sep 17 00:00:00 2001
-From: jcmvbkbc <jcmvbkbc@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Tue, 15 Sep 2015 19:30:32 +0000
-Subject: [PATCH] xtensa: fix xtensa_fallback_frame_state for call0 ABI
-
-2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
-gcc/
- * config/xtensa/xtensa.h (DWARF_ALT_FRAME_RETURN_COLUMN): New
- definition.
- (DWARF_FRAME_REGISTERS): Reserve space for one extra register in
- call0 ABI.
-
-libgcc/
- * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
- Add support for call0 ABI.
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227809 138bc75d-0d04-0410-961f-82ee72b054a4
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
- 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
- for debugging. */
- #define INCOMING_RETURN_ADDR_RTX gen_rtx_REG (Pmode, 0)
- #define DWARF_FRAME_RETURN_COLUMN DWARF_FRAME_REGNUM (0)
--#define DWARF_FRAME_REGISTERS 16
-+#define DWARF_ALT_FRAME_RETURN_COLUMN 16
-+#define DWARF_FRAME_REGISTERS (DWARF_ALT_FRAME_RETURN_COLUMN \
-+ + (TARGET_WINDOWED_ABI ? 0 : 1))
- #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
- #define ENTRY_BYTE 0x36
- #endif
-
--#ifdef __XTENSA_WINDOWED_ABI__
- #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,
- {
- unsigned char *pc = context->ra;
- struct sigcontext *sc;
-+#if defined(__XTENSA_CALL0_ABI__)
-+ _Unwind_Ptr new_cfa;
-+ int i;
-+#endif
-
- struct rt_sigframe {
- siginfo_t info;
-@@ -76,6 +79,7 @@ xtensa_fallback_frame_state (struct _Unwind_Context *context,
- || pc[5] != SYSC_BYTE2)
- return _URC_END_OF_STACK;
-
-+#if defined(__XTENSA_WINDOWED_ABI__)
- 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,
- }
- else
- fs->signal_ra = sc->sc_pc;
-+#elif defined(__XTENSA_CALL0_ABI__)
-+ rt_ = context->cfa;
-+ sc = &rt_->uc.uc_mcontext;
-+
-+ new_cfa = (_Unwind_Ptr) sc;
-+ fs->regs.cfa_how = CFA_REG_OFFSET;
-+ fs->regs.cfa_reg = __LIBGCC_STACK_POINTER_REGNUM__;
-+ fs->regs.cfa_offset = new_cfa - (_Unwind_Ptr) context->cfa;
-+
-+ for (i = 0; i < 16; i++)
-+ {
-+ fs->regs.reg[i].how = REG_SAVED_OFFSET;
-+ fs->regs.reg[i].loc.offset = (_Unwind_Ptr) &(sc->sc_a[i]) - new_cfa;
-+ }
-+
-+ fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].how =
-+ REG_SAVED_VAL_OFFSET;
-+ fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].loc.offset =
-+ (_Unwind_Ptr) (sc->sc_pc) - new_cfa;
-+ fs->retaddr_column = __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__;
-+#else
-+#error Unsupported Xtensa ABI
-+#endif
-
- fs->signal_frame = 1;
- return _URC_NO_REASON;
- }
-
--#endif /* __XTENSA_WINDOWED_ABI__ */
-
- #endif /* ifdef inhibit_libc */
---
-2.1.4
-
diff --git a/packages/gcc/5.4.0/876-xtensa-fix-libgcc-build-with-text-section-literals.patch b/packages/gcc/5.4.0/876-xtensa-fix-libgcc-build-with-text-section-literals.patch
deleted file mode 100644
index 4b2334a..0000000
--- a/packages/gcc/5.4.0/876-xtensa-fix-libgcc-build-with-text-section-literals.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From 44fbad9f8bed55f690f251b530ab38df1e696d95 Mon Sep 17 00:00:00 2001
-From: jcmvbkbc <jcmvbkbc@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Wed, 17 Feb 2016 20:21:48 +0000
-Subject: [PATCH] xtensa: fix libgcc build with --text-section-literals
-
-Functions __muldf3_aux, __divdf3_aux, __mulsf3_aux and __divsf3_aux
-don't start with leaf_entry, so they need explicit .literal_position,
-otherwise libgcc build fails in the presence of --text-section-literals.
-
-2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
-libgcc/
- * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
- .literal_position before the function.
- * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
- Likewise.
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233505 138bc75d-0d04-0410-961f-82ee72b054a4
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
- 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:
- #define XCHAL_NO_MUL 1
- #endif
-
-+ .literal_position
- __muldf3_aux:
-
- /* Handle unusual cases (zeros, subnormals, NaNs and Infinities).
-@@ -1216,6 +1217,7 @@ __muldf3:
-
- #ifdef L_divdf3
-
-+ .literal_position
- /* 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:
- #define XCHAL_NO_MUL 1
- #endif
-
-+ .literal_position
- __mulsf3_aux:
-
- /* Handle unusual cases (zeros, subnormals, NaNs and Infinities).
-@@ -884,6 +885,7 @@ __mulsf3:
-
- #ifdef L_divsf3
-
-+ .literal_position
- /* Division */
- __divsf3_aux:
-
---
-2.1.4
-
diff --git a/packages/gcc/5.4.0/877-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch b/packages/gcc/5.4.0/877-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch
deleted file mode 100644
index 6e0ce6e..0000000
--- a/packages/gcc/5.4.0/877-xtensa-don-t-use-unwind-dw2-fde-dip-with-elf-targets.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From d28554ee61a1ab1263274d66386e4051bca0ce05 Mon Sep 17 00:00:00 2001
-From: jcmvbkbc <jcmvbkbc@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Tue, 18 Oct 2016 19:12:19 +0000
-Subject: [PATCH] xtensa: don't use unwind-dw2-fde-dip with elf targets
-
-Define LIB2ADDEH_XTENSA_UNWIND_DW2_FDE to unwind-dw2-fde.c in
-xtensa/t-elf and to unwind-dw2-fde-dip.c in xtensa/t-linux and use
-LIB2ADDEH_XTENSA_UNWIND_DW2_FDE in LIB2ADDEH definition.
-
-This fixes build for elf target with windowed xtensa core that currently
-breaks with the following error message:
-
- unwind-dw2-fde-dip.c:36:40: fatal error: elf.h: No such file or directory
-
-2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
-libgcc/
- * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
- definition.
- * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
- definition.
- * config/xtensa/t-windowed (LIB2ADDEH): Use
- LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
- or xtensa/t-linux.
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241313 138bc75d-0d04-0410-961f-82ee72b054a4
-
-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 +-
- 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
- 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/5.4.0/878-xtensa-Fix-PR-target-78603.patch b/packages/gcc/5.4.0/878-xtensa-Fix-PR-target-78603.patch
deleted file mode 100644
index 4646d3c..0000000
--- a/packages/gcc/5.4.0/878-xtensa-Fix-PR-target-78603.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From b18fe564ed233ee0965b3a980edc5dbe069b80ea Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Tue, 29 Nov 2016 13:09:17 -0800
-Subject: [PATCH] xtensa: Fix PR target/78603
-
-2016-11-29 Max Filippov <jcmvbkbc@gmail.com>
-gcc/
- * config/xtensa/xtensa.c (hwloop_optimize): Don't emit zero
- overhead loop start between a call and its CALL_ARG_LOCATION
- note.
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
- 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)
- entry_after = BB_END (entry_bb);
- while (DEBUG_INSN_P (entry_after)
- || (NOTE_P (entry_after)
-- && NOTE_KIND (entry_after) != NOTE_INSN_BASIC_BLOCK))
-+ && NOTE_KIND (entry_after) != NOTE_INSN_BASIC_BLOCK
-+ /* Make sure we don't split a call and its corresponding
-+ CALL_ARG_LOCATION note. */
-+ && NOTE_KIND (entry_after) != NOTE_INSN_CALL_ARG_LOCATION))
- entry_after = PREV_INSN (entry_after);
-
- emit_insn_after (seq, entry_after);
---
-2.1.4
-
diff --git a/packages/gcc/5.4.0/879-gcc-xtensa-fix-fprintf-format-specifiers.patch b/packages/gcc/5.4.0/879-gcc-xtensa-fix-fprintf-format-specifiers.patch
deleted file mode 100644
index e75e258..0000000
--- a/packages/gcc/5.4.0/879-gcc-xtensa-fix-fprintf-format-specifiers.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 1117c8be9e712f778739d751aa61038794437d7d Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Sun, 28 May 2017 19:56:56 -0700
-Subject: [PATCH] gcc: xtensa: fix fprintf format specifiers
-
-HOST_WIDE_INT may not be long as assumed in print_operand and
-xtensa_emit_call. Use HOST_WIDE_INT_PRINT_DEC/HOST_WIDE_INT_PRINT_HEX
-format strings instead of %ld/0x%lx. This fixes incorrect assembly code
-generation by the compiler running on armhf host.
-
-2017-05-28 Max Filippov <jcmvbkbc@gmail.com>
-gcc/
- * config/xtensa/xtensa.c (xtensa_emit_call): Use
- HOST_WIDE_INT_PRINT_HEX instead of 0x%lx format string.
- (print_operand): Use HOST_WIDE_INT_PRINT_DEC instead of %ld
- format string.
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
- 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)
- rtx tgt = operands[callop];
-
- if (GET_CODE (tgt) == CONST_INT)
-- sprintf (result, "call%d\t0x%lx", WINDOW_SIZE, INTVAL (tgt));
-+ sprintf (result, "call%d\t" HOST_WIDE_INT_PRINT_HEX,
-+ WINDOW_SIZE, INTVAL (tgt));
- 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)
-
- case 'L':
- if (GET_CODE (x) == CONST_INT)
-- fprintf (file, "%ld", (32 - INTVAL (x)) & 0x1f);
-+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, (32 - INTVAL (x)) & 0x1f);
- else
- output_operand_lossage ("invalid %%L value");
- break;
-
- case 'R':
- if (GET_CODE (x) == CONST_INT)
-- fprintf (file, "%ld", INTVAL (x) & 0x1f);
-+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (x) & 0x1f);
- else
- output_operand_lossage ("invalid %%R value");
- break;
-@@ -2403,7 +2404,7 @@ print_operand (FILE *file, rtx x, int letter)
-
- case 'd':
- if (GET_CODE (x) == CONST_INT)
-- fprintf (file, "%ld", INTVAL (x));
-+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (x));
- else
- output_operand_lossage ("invalid %%d value");
- break;
-@@ -2472,7 +2473,7 @@ print_operand (FILE *file, rtx x, int letter)
- else if (GET_CODE (x) == MEM)
- output_address (XEXP (x, 0));
- else if (GET_CODE (x) == CONST_INT)
-- fprintf (file, "%ld", INTVAL (x));
-+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (x));
- else
- output_addr_const (file, x);
- }
---
-2.1.4
-
diff --git a/packages/gcc/5.4.0/880-xtensa-fix-PR-target-82181.patch b/packages/gcc/5.4.0/880-xtensa-fix-PR-target-82181.patch
deleted file mode 100644
index b8c2263..0000000
--- a/packages/gcc/5.4.0/880-xtensa-fix-PR-target-82181.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 82314225ca735a726d9e14dd69354814240419e1 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(+)
-
-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)
- case HImode:
- return xtensa_uimm8x2 (v);
-
-+ case DImode:
- case DFmode:
- return (xtensa_uimm8x4 (v) && xtensa_uimm8x4 (v + 4));
-
---
-2.1.4
-
diff --git a/packages/gcc/5.4.0/chksum b/packages/gcc/5.4.0/chksum
deleted file mode 100644
index fe93128..0000000
--- a/packages/gcc/5.4.0/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 gcc-5.4.0.tar.bz2 4c626ac2a83ef30dfb9260e6f59c2b30
-sha1 gcc-5.4.0.tar.bz2 07524df2b4ab9070bad9c49ab668da72237b8115
-sha256 gcc-5.4.0.tar.bz2 608df76dec2d34de6558249d8af4cbee21eceddbcb580d666f7a5a583ca3303a
-sha512 gcc-5.4.0.tar.bz2 2941cc950c8f2409a314df497631f9b0266211aa74746c1839c46e04f1c7c299afe2528d1ef16ea39def408a644ba48f97519ec7a7dd37d260c3e9423514265b
-md5 gcc-5.4.0.tar.gz f2b4d5a580061711e68f0f506e402e1c
-sha1 gcc-5.4.0.tar.gz ca189feb8b93108a6313e34e745d45a03547dbc1
-sha256 gcc-5.4.0.tar.gz 37089e80c3f2e9a0663d7ccc51c2a6c7dbbf3275bc1e4ed1ed3b1460cd5b3030
-sha512 gcc-5.4.0.tar.gz a52d128370dd75fb4d0defc5ab0ddb6967caccc696d9c869a94ec2903223bc21500d91c66f924914b4dafaf889b3a4a068d7da7d6efa5d4ed8473391d6e70754
diff --git a/packages/gcc/5.4.0/version.desc b/packages/gcc/5.4.0/version.desc
deleted file mode 100644
index d44e333..0000000
--- a/packages/gcc/5.4.0/version.desc
+++ /dev/null
@@ -1 +0,0 @@
-archive_formats='.tar.bz2 .tar.gz'
diff --git a/packages/gcc/5.4.0/100-uclibc-conf.patch b/packages/gcc/5.5.0/100-uclibc-conf.patch
index 73d1f0d..73d1f0d 100644
--- a/packages/gcc/5.4.0/100-uclibc-conf.patch
+++ b/packages/gcc/5.5.0/100-uclibc-conf.patch
diff --git a/packages/gcc/5.4.0/1000-libtool-leave-framework-alone.patch b/packages/gcc/5.5.0/1000-libtool-leave-framework-alone.patch
index 0f4912a..0f4912a 100644
--- a/packages/gcc/5.4.0/1000-libtool-leave-framework-alone.patch
+++ b/packages/gcc/5.5.0/1000-libtool-leave-framework-alone.patch
diff --git a/packages/gcc/5.4.0/110-xtensa-implement-trap-pattern.patch b/packages/gcc/5.5.0/110-xtensa-implement-trap-pattern.patch
index 3304532..3304532 100644
--- a/packages/gcc/5.4.0/110-xtensa-implement-trap-pattern.patch
+++ b/packages/gcc/5.5.0/110-xtensa-implement-trap-pattern.patch
diff --git a/packages/gcc/5.4.0/1100-msp430-string-literals.patch b/packages/gcc/5.5.0/1100-msp430-string-literals.patch
index 819d6d2..819d6d2 100644
--- a/packages/gcc/5.4.0/1100-msp430-string-literals.patch
+++ b/packages/gcc/5.5.0/1100-msp430-string-literals.patch
diff --git a/packages/gcc/5.4.0/111-alpha-bad-eh_frame.patch b/packages/gcc/5.5.0/111-alpha-bad-eh_frame.patch
index 93f6e94..93f6e94 100644
--- a/packages/gcc/5.4.0/111-alpha-bad-eh_frame.patch
+++ b/packages/gcc/5.5.0/111-alpha-bad-eh_frame.patch
diff --git a/packages/gcc/5.4.0/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch b/packages/gcc/5.5.0/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch
index c11ad35..c11ad35 100644
--- a/packages/gcc/5.4.0/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch
+++ b/packages/gcc/5.5.0/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch
diff --git a/packages/gcc/5.4.0/301-missing-execinfo_h.patch b/packages/gcc/5.5.0/301-missing-execinfo_h.patch
index 2d0e7ba..2d0e7ba 100644
--- a/packages/gcc/5.4.0/301-missing-execinfo_h.patch
+++ b/packages/gcc/5.5.0/301-missing-execinfo_h.patch
diff --git a/packages/gcc/5.4.0/370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch b/packages/gcc/5.5.0/370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
index d8986d5..d8986d5 100644
--- a/packages/gcc/5.4.0/370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
+++ b/packages/gcc/5.5.0/370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
diff --git a/packages/gcc/5.4.0/380-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc/5.5.0/380-gcc-plugin-POSIX-include-sys-select-h.patch
index 12ef48e..12ef48e 100644
--- a/packages/gcc/5.4.0/380-gcc-plugin-POSIX-include-sys-select-h.patch
+++ b/packages/gcc/5.5.0/380-gcc-plugin-POSIX-include-sys-select-h.patch
diff --git a/packages/gcc/5.4.0/810-arm-softfloat-libgcc.patch b/packages/gcc/5.5.0/810-arm-softfloat-libgcc.patch
index 5efa7fd..5efa7fd 100644
--- a/packages/gcc/5.4.0/810-arm-softfloat-libgcc.patch
+++ b/packages/gcc/5.5.0/810-arm-softfloat-libgcc.patch
diff --git a/packages/gcc/5.4.0/830-arm_unbreak_armv4t.patch b/packages/gcc/5.5.0/830-arm_unbreak_armv4t.patch
index b730059..b730059 100644
--- a/packages/gcc/5.4.0/830-arm_unbreak_armv4t.patch
+++ b/packages/gcc/5.5.0/830-arm_unbreak_armv4t.patch
diff --git a/packages/gcc/5.4.0/840-microblaze-enable-dwarf-eh-support.patch b/packages/gcc/5.5.0/840-microblaze-enable-dwarf-eh-support.patch
index 9d29090..9d29090 100644
--- a/packages/gcc/5.4.0/840-microblaze-enable-dwarf-eh-support.patch
+++ b/packages/gcc/5.5.0/840-microblaze-enable-dwarf-eh-support.patch
diff --git a/packages/gcc/5.4.0/850-libstdcxx-uclibc-c99.patch b/packages/gcc/5.5.0/850-libstdcxx-uclibc-c99.patch
index 9e97d94..9e97d94 100644
--- a/packages/gcc/5.4.0/850-libstdcxx-uclibc-c99.patch
+++ b/packages/gcc/5.5.0/850-libstdcxx-uclibc-c99.patch
diff --git a/packages/gcc/5.4.0/860-cilk-wchar.patch b/packages/gcc/5.5.0/860-cilk-wchar.patch
index 1d9916f..1d9916f 100644
--- a/packages/gcc/5.4.0/860-cilk-wchar.patch
+++ b/packages/gcc/5.5.0/860-cilk-wchar.patch
diff --git a/packages/gcc/5.4.0/870-xtensa-add-mauto-litpools-option.patch b/packages/gcc/5.5.0/870-xtensa-add-mauto-litpools-option.patch
index aa1376c..aa1376c 100644
--- a/packages/gcc/5.4.0/870-xtensa-add-mauto-litpools-option.patch
+++ b/packages/gcc/5.5.0/870-xtensa-add-mauto-litpools-option.patch
diff --git a/packages/gcc/5.4.0/871-xtensa-reimplement-register-spilling.patch b/packages/gcc/5.5.0/871-xtensa-reimplement-register-spilling.patch
index 4056f8b..4056f8b 100644
--- a/packages/gcc/5.4.0/871-xtensa-reimplement-register-spilling.patch
+++ b/packages/gcc/5.5.0/871-xtensa-reimplement-register-spilling.patch
diff --git a/packages/gcc/5.4.0/874-xtensa-add-uclinux-support.patch b/packages/gcc/5.5.0/874-xtensa-add-uclinux-support.patch
index 23db3d8..23db3d8 100644
--- a/packages/gcc/5.4.0/874-xtensa-add-uclinux-support.patch
+++ b/packages/gcc/5.5.0/874-xtensa-add-uclinux-support.patch
diff --git a/packages/gcc/5.4.0/890-fix-m68k-compile.patch b/packages/gcc/5.5.0/890-fix-m68k-compile.patch
index 6e63de0..6e63de0 100644
--- a/packages/gcc/5.4.0/890-fix-m68k-compile.patch
+++ b/packages/gcc/5.5.0/890-fix-m68k-compile.patch
diff --git a/packages/gcc/5.4.0/891-fix-m68k-uclinux.patch b/packages/gcc/5.5.0/891-fix-m68k-uclinux.patch
index 4e186bd..4e186bd 100644
--- a/packages/gcc/5.4.0/891-fix-m68k-uclinux.patch
+++ b/packages/gcc/5.5.0/891-fix-m68k-uclinux.patch
diff --git a/packages/gcc/5.4.0/892-microblaze-uclibc.patch b/packages/gcc/5.5.0/892-microblaze-uclibc.patch
index a8eb5a6..a8eb5a6 100644
--- a/packages/gcc/5.4.0/892-microblaze-uclibc.patch
+++ b/packages/gcc/5.5.0/892-microblaze-uclibc.patch
diff --git a/packages/gcc/5.4.0/900-libitm-fixes-for-musl-support.patch b/packages/gcc/5.5.0/900-libitm-fixes-for-musl-support.patch
index fdf4ee7..fdf4ee7 100644
--- a/packages/gcc/5.4.0/900-libitm-fixes-for-musl-support.patch
+++ b/packages/gcc/5.5.0/900-libitm-fixes-for-musl-support.patch
diff --git a/packages/gcc/5.4.0/901-fixincludes-update-for-musl-support.patch b/packages/gcc/5.5.0/901-fixincludes-update-for-musl-support.patch
index 13c08d6..13c08d6 100644
--- a/packages/gcc/5.4.0/901-fixincludes-update-for-musl-support.patch
+++ b/packages/gcc/5.5.0/901-fixincludes-update-for-musl-support.patch
diff --git a/packages/gcc/5.4.0/902-unwind-fix-for-musl.patch b/packages/gcc/5.5.0/902-unwind-fix-for-musl.patch
index ef47054..ef47054 100644
--- a/packages/gcc/5.4.0/902-unwind-fix-for-musl.patch
+++ b/packages/gcc/5.5.0/902-unwind-fix-for-musl.patch
diff --git a/packages/gcc/5.4.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch b/packages/gcc/5.5.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch
index c852131..c852131 100644
--- a/packages/gcc/5.4.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch
+++ b/packages/gcc/5.5.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch
diff --git a/packages/gcc/5.4.0/904-musl-libc-config.patch b/packages/gcc/5.5.0/904-musl-libc-config.patch
index 8549140..8549140 100644
--- a/packages/gcc/5.4.0/904-musl-libc-config.patch
+++ b/packages/gcc/5.5.0/904-musl-libc-config.patch
diff --git a/packages/gcc/5.4.0/905-add-musl-support-to-gcc.patch b/packages/gcc/5.5.0/905-add-musl-support-to-gcc.patch
index 92e7436..92e7436 100644
--- a/packages/gcc/5.4.0/905-add-musl-support-to-gcc.patch
+++ b/packages/gcc/5.5.0/905-add-musl-support-to-gcc.patch
diff --git a/packages/gcc/5.4.0/906-mips-musl-support.patch b/packages/gcc/5.5.0/906-mips-musl-support.patch
index 6b473f9..6b473f9 100644
--- a/packages/gcc/5.4.0/906-mips-musl-support.patch
+++ b/packages/gcc/5.5.0/906-mips-musl-support.patch
diff --git a/packages/gcc/5.4.0/907-x86-musl-support.patch b/packages/gcc/5.5.0/907-x86-musl-support.patch
index 3f2fe5d..3f2fe5d 100644
--- a/packages/gcc/5.4.0/907-x86-musl-support.patch
+++ b/packages/gcc/5.5.0/907-x86-musl-support.patch
diff --git a/packages/gcc/5.4.0/908-arm-musl-support.patch b/packages/gcc/5.5.0/908-arm-musl-support.patch
index 906355a..906355a 100644
--- a/packages/gcc/5.4.0/908-arm-musl-support.patch
+++ b/packages/gcc/5.5.0/908-arm-musl-support.patch
diff --git a/packages/gcc/5.4.0/909-aarch64-musl-support.patch b/packages/gcc/5.5.0/909-aarch64-musl-support.patch
index 3d032f5..3d032f5 100644
--- a/packages/gcc/5.4.0/909-aarch64-musl-support.patch
+++ b/packages/gcc/5.5.0/909-aarch64-musl-support.patch
diff --git a/packages/gcc/5.4.0/910-nios2-bad-multilib-default.patch b/packages/gcc/5.5.0/910-nios2-bad-multilib-default.patch
index d94697f..d94697f 100644
--- a/packages/gcc/5.4.0/910-nios2-bad-multilib-default.patch
+++ b/packages/gcc/5.5.0/910-nios2-bad-multilib-default.patch
diff --git a/packages/gcc/5.4.0/930-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/5.5.0/930-libgcc-disable-split-stack-nothreads.patch
index 07f9a73..07f9a73 100644
--- a/packages/gcc/5.4.0/930-libgcc-disable-split-stack-nothreads.patch
+++ b/packages/gcc/5.5.0/930-libgcc-disable-split-stack-nothreads.patch
diff --git a/packages/gcc/5.4.0/940-uclinux-enable-threads.patch b/packages/gcc/5.5.0/940-uclinux-enable-threads.patch
index 490a55b..490a55b 100644
--- a/packages/gcc/5.4.0/940-uclinux-enable-threads.patch
+++ b/packages/gcc/5.5.0/940-uclinux-enable-threads.patch
diff --git a/packages/gcc/5.5.0/chksum b/packages/gcc/5.5.0/chksum
new file mode 100644
index 0000000..1377605
--- /dev/null
+++ b/packages/gcc/5.5.0/chksum
@@ -0,0 +1,8 @@
+md5 gcc-5.5.0.tar.xz 0f70424213b4a1113c04ba66ddda0c1f
+sha1 gcc-5.5.0.tar.xz 0d985aaf6d63598916933a690cb902d47d385bea
+sha256 gcc-5.5.0.tar.xz 530cea139d82fe542b358961130c69cfde8b3d14556370b65823d2f91f0ced87
+sha512 gcc-5.5.0.tar.xz 670ff52c2ae12c7852c12987e91798c5aa8bd6daf21f0d6e0cd57a4aa59cc4f06a837fe76426eaa1424cfddca937bed377680700eadc04d76b9180d462364fa1
+md5 gcc-5.5.0.tar.gz 781bc0195edeb0ceaace8428f63ae63d
+sha1 gcc-5.5.0.tar.gz b54770ac7ed33092dc86676145142d7a4aa447dc
+sha256 gcc-5.5.0.tar.gz 3aabce75d6dd206876eced17504b28d47a724c2e430dbd2de176beb948708983
+sha512 gcc-5.5.0.tar.gz ace0dafc56025b1ed22d06f20b3af2e6c4896b91c36289cfb129dcd6531b53f754150cc69a5b9c6f305598e4d643c80b114ed17cdc93ac979661d31073dd4ffd
diff --git a/packages/gcc/5.5.0/version.desc b/packages/gcc/5.5.0/version.desc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/packages/gcc/5.5.0/version.desc