From 8f4019e6937d6064600e2360b500b49187083a9f Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Sat, 2 Jan 2016 18:24:41 -0800 Subject: [PATCH] gcc: Update gcc 5 to 5.3.0 Reported-by: Freddie Chopin Signed-off-by: Bryan Hundven --- config/cc/gcc.in | 6 ++-- .../201-libgcc-remove-unistd-header.patch | 14 --------- .../{5.2.0 => 5.3.0}/100-uclibc-conf.patch | 0 .../110-xtensa-implement-trap-pattern.patch | 0 ...ix-typo-for-powerpc-e6500-cpu_is_64b.patch | 29 +++++++++++++++++++ .../301-missing-execinfo_h.patch | 0 .../810-arm-softfloat-libgcc.patch | 0 .../830-arm_unbreak_armv4t.patch | 0 ...0-microblaze-enable-dwarf-eh-support.patch | 0 .../850-libstdcxx-uclibc-c99.patch | 0 .../gcc/{5.2.0 => 5.3.0}/860-cilk-wchar.patch | 0 ...870-xtensa-add-mauto-litpools-option.patch | 0 ...xtensa-reimplement-register-spilling.patch | 0 ...d-dw2-fde-dip-instead-of-unwind-dw2-.patch | 0 .../873-xtensa-fix-_Unwind_GetCFA.patch | 0 .../900-libitm-fixes-for-musl-support.patch | 0 ...-fixincludes-update-for-musl-support.patch | 0 .../902-unwind-fix-for-musl.patch | 0 ...libgfortran-gthr-workaround-for-musl.patch | 0 .../904-musl-libc-config.patch | 0 .../905-add-musl-support-to-gcc.patch | 0 .../906-mips-musl-support.patch | 0 .../907-x86-musl-support.patch | 0 .../908-arm-musl-support.patch | 0 .../909-aarch64-musl-support.patch | 0 25 files changed, 32 insertions(+), 17 deletions(-) delete mode 100644 patches/gcc/5.2.0/201-libgcc-remove-unistd-header.patch rename patches/gcc/{5.2.0 => 5.3.0}/100-uclibc-conf.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/110-xtensa-implement-trap-pattern.patch (100%) create mode 100644 patches/gcc/5.3.0/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch rename patches/gcc/{5.2.0 => 5.3.0}/301-missing-execinfo_h.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/810-arm-softfloat-libgcc.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/830-arm_unbreak_armv4t.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/840-microblaze-enable-dwarf-eh-support.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/850-libstdcxx-uclibc-c99.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/860-cilk-wchar.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/870-xtensa-add-mauto-litpools-option.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/871-xtensa-reimplement-register-spilling.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/873-xtensa-fix-_Unwind_GetCFA.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/900-libitm-fixes-for-musl-support.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/901-fixincludes-update-for-musl-support.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/902-unwind-fix-for-musl.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/904-musl-libc-config.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/905-add-musl-support-to-gcc.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/906-mips-musl-support.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/907-x86-musl-support.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/908-arm-musl-support.patch (100%) rename patches/gcc/{5.2.0 => 5.3.0}/909-aarch64-musl-support.patch (100%) diff --git a/config/cc/gcc.in b/config/cc/gcc.in index 887b1065..d915f580 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -72,9 +72,9 @@ choice # Don't remove next line # CT_INSERT_VERSION_BELOW -config CC_GCC_V_5_2_0 +config CC_GCC_V_5_3_0 bool - prompt "5.2.0" + prompt "5.3.0" select CC_GCC_5 config CC_GCC_V_linaro_4_9 @@ -260,7 +260,7 @@ config CC_GCC_VERSION string # Don't remove next line # CT_INSERT_VERSION_STRING_BELOW - default "5.2.0" if CC_GCC_V_5_2_0 + default "5.3.0" if CC_GCC_V_5_3_0 default "linaro-4.9-2015.06" if CC_GCC_V_linaro_4_9 default "4.9.3" if CC_GCC_V_4_9_3 default "linaro-4.8-2015.06" if CC_GCC_V_linaro_4_8 diff --git a/patches/gcc/5.2.0/201-libgcc-remove-unistd-header.patch b/patches/gcc/5.2.0/201-libgcc-remove-unistd-header.patch deleted file mode 100644 index 20d1c06d..00000000 --- a/patches/gcc/5.2.0/201-libgcc-remove-unistd-header.patch +++ /dev/null @@ -1,14 +0,0 @@ -Upstream status: In progress - -Index: b/libgcc/config/nios2/linux-atomic.c -=================================================================== ---- a/libgcc/config/nios2/linux-atomic.c -+++ b/libgcc/config/nios2/linux-atomic.c -@@ -20,7 +20,6 @@ - see the files COPYING3 and COPYING.RUNTIME respectively. If not, see - . */ - --#include - #define EFAULT 14 - #define EBUSY 16 - #define ENOSYS 38 diff --git a/patches/gcc/5.2.0/100-uclibc-conf.patch b/patches/gcc/5.3.0/100-uclibc-conf.patch similarity index 100% rename from patches/gcc/5.2.0/100-uclibc-conf.patch rename to patches/gcc/5.3.0/100-uclibc-conf.patch diff --git a/patches/gcc/5.2.0/110-xtensa-implement-trap-pattern.patch b/patches/gcc/5.3.0/110-xtensa-implement-trap-pattern.patch similarity index 100% rename from patches/gcc/5.2.0/110-xtensa-implement-trap-pattern.patch rename to patches/gcc/5.3.0/110-xtensa-implement-trap-pattern.patch diff --git a/patches/gcc/5.3.0/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch b/patches/gcc/5.3.0/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch new file mode 100644 index 00000000..c11ad35a --- /dev/null +++ b/patches/gcc/5.3.0/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch @@ -0,0 +1,29 @@ +From 9bf6066d588632dab9f78932df15b5b4140f31f3 Mon Sep 17 00:00:00 2001 +From: "Arnout Vandecappelle (Essensium/Mind)" +Date: Fri, 6 Nov 2015 14:27:23 +0100 +Subject: [PATCH] gcc/config.gcc: fix typo for powerpc e6500 cpu_is_64bit + +Otherwise it is not recognized as a 64-bit powerpc and gcc will not generate +64-bit binaries by default. + +Signed-off-by: Arnout Vandecappelle (Essensium/Mind) +--- + gcc/config.gcc | 2 +- + 2 files changed, 4 insertions(+), 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*-*-*) + 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 +- xpowerpc64|xdefault64|x6[23]0|x970|xG5|xpower[345678]|xpower6x|xrs64a|xcell|xa2|xe500mc64|xe5500|Xe6500) ++ xpowerpc64|xdefault64|x6[23]0|x970|xG5|xpower[345678]|xpower6x|xrs64a|xcell|xa2|xe500mc64|xe5500|xe6500) + cpu_is_64bit=yes + ;; + esac +-- +2.6.2 + diff --git a/patches/gcc/5.2.0/301-missing-execinfo_h.patch b/patches/gcc/5.3.0/301-missing-execinfo_h.patch similarity index 100% rename from patches/gcc/5.2.0/301-missing-execinfo_h.patch rename to patches/gcc/5.3.0/301-missing-execinfo_h.patch diff --git a/patches/gcc/5.2.0/810-arm-softfloat-libgcc.patch b/patches/gcc/5.3.0/810-arm-softfloat-libgcc.patch similarity index 100% rename from patches/gcc/5.2.0/810-arm-softfloat-libgcc.patch rename to patches/gcc/5.3.0/810-arm-softfloat-libgcc.patch diff --git a/patches/gcc/5.2.0/830-arm_unbreak_armv4t.patch b/patches/gcc/5.3.0/830-arm_unbreak_armv4t.patch similarity index 100% rename from patches/gcc/5.2.0/830-arm_unbreak_armv4t.patch rename to patches/gcc/5.3.0/830-arm_unbreak_armv4t.patch diff --git a/patches/gcc/5.2.0/840-microblaze-enable-dwarf-eh-support.patch b/patches/gcc/5.3.0/840-microblaze-enable-dwarf-eh-support.patch similarity index 100% rename from patches/gcc/5.2.0/840-microblaze-enable-dwarf-eh-support.patch rename to patches/gcc/5.3.0/840-microblaze-enable-dwarf-eh-support.patch diff --git a/patches/gcc/5.2.0/850-libstdcxx-uclibc-c99.patch b/patches/gcc/5.3.0/850-libstdcxx-uclibc-c99.patch similarity index 100% rename from patches/gcc/5.2.0/850-libstdcxx-uclibc-c99.patch rename to patches/gcc/5.3.0/850-libstdcxx-uclibc-c99.patch diff --git a/patches/gcc/5.2.0/860-cilk-wchar.patch b/patches/gcc/5.3.0/860-cilk-wchar.patch similarity index 100% rename from patches/gcc/5.2.0/860-cilk-wchar.patch rename to patches/gcc/5.3.0/860-cilk-wchar.patch diff --git a/patches/gcc/5.2.0/870-xtensa-add-mauto-litpools-option.patch b/patches/gcc/5.3.0/870-xtensa-add-mauto-litpools-option.patch similarity index 100% rename from patches/gcc/5.2.0/870-xtensa-add-mauto-litpools-option.patch rename to patches/gcc/5.3.0/870-xtensa-add-mauto-litpools-option.patch diff --git a/patches/gcc/5.2.0/871-xtensa-reimplement-register-spilling.patch b/patches/gcc/5.3.0/871-xtensa-reimplement-register-spilling.patch similarity index 100% rename from patches/gcc/5.2.0/871-xtensa-reimplement-register-spilling.patch rename to patches/gcc/5.3.0/871-xtensa-reimplement-register-spilling.patch diff --git a/patches/gcc/5.2.0/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch b/patches/gcc/5.3.0/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch similarity index 100% rename from patches/gcc/5.2.0/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch rename to patches/gcc/5.3.0/872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch diff --git a/patches/gcc/5.2.0/873-xtensa-fix-_Unwind_GetCFA.patch b/patches/gcc/5.3.0/873-xtensa-fix-_Unwind_GetCFA.patch similarity index 100% rename from patches/gcc/5.2.0/873-xtensa-fix-_Unwind_GetCFA.patch rename to patches/gcc/5.3.0/873-xtensa-fix-_Unwind_GetCFA.patch diff --git a/patches/gcc/5.2.0/900-libitm-fixes-for-musl-support.patch b/patches/gcc/5.3.0/900-libitm-fixes-for-musl-support.patch similarity index 100% rename from patches/gcc/5.2.0/900-libitm-fixes-for-musl-support.patch rename to patches/gcc/5.3.0/900-libitm-fixes-for-musl-support.patch diff --git a/patches/gcc/5.2.0/901-fixincludes-update-for-musl-support.patch b/patches/gcc/5.3.0/901-fixincludes-update-for-musl-support.patch similarity index 100% rename from patches/gcc/5.2.0/901-fixincludes-update-for-musl-support.patch rename to patches/gcc/5.3.0/901-fixincludes-update-for-musl-support.patch diff --git a/patches/gcc/5.2.0/902-unwind-fix-for-musl.patch b/patches/gcc/5.3.0/902-unwind-fix-for-musl.patch similarity index 100% rename from patches/gcc/5.2.0/902-unwind-fix-for-musl.patch rename to patches/gcc/5.3.0/902-unwind-fix-for-musl.patch diff --git a/patches/gcc/5.2.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch b/patches/gcc/5.3.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch similarity index 100% rename from patches/gcc/5.2.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch rename to patches/gcc/5.3.0/903-libstdc++-libgfortran-gthr-workaround-for-musl.patch diff --git a/patches/gcc/5.2.0/904-musl-libc-config.patch b/patches/gcc/5.3.0/904-musl-libc-config.patch similarity index 100% rename from patches/gcc/5.2.0/904-musl-libc-config.patch rename to patches/gcc/5.3.0/904-musl-libc-config.patch diff --git a/patches/gcc/5.2.0/905-add-musl-support-to-gcc.patch b/patches/gcc/5.3.0/905-add-musl-support-to-gcc.patch similarity index 100% rename from patches/gcc/5.2.0/905-add-musl-support-to-gcc.patch rename to patches/gcc/5.3.0/905-add-musl-support-to-gcc.patch diff --git a/patches/gcc/5.2.0/906-mips-musl-support.patch b/patches/gcc/5.3.0/906-mips-musl-support.patch similarity index 100% rename from patches/gcc/5.2.0/906-mips-musl-support.patch rename to patches/gcc/5.3.0/906-mips-musl-support.patch diff --git a/patches/gcc/5.2.0/907-x86-musl-support.patch b/patches/gcc/5.3.0/907-x86-musl-support.patch similarity index 100% rename from patches/gcc/5.2.0/907-x86-musl-support.patch rename to patches/gcc/5.3.0/907-x86-musl-support.patch diff --git a/patches/gcc/5.2.0/908-arm-musl-support.patch b/patches/gcc/5.3.0/908-arm-musl-support.patch similarity index 100% rename from patches/gcc/5.2.0/908-arm-musl-support.patch rename to patches/gcc/5.3.0/908-arm-musl-support.patch diff --git a/patches/gcc/5.2.0/909-aarch64-musl-support.patch b/patches/gcc/5.3.0/909-aarch64-musl-support.patch similarity index 100% rename from patches/gcc/5.2.0/909-aarch64-musl-support.patch rename to patches/gcc/5.3.0/909-aarch64-musl-support.patch