diff options
| author | Evgeniy Didin <Evgeniy.Didin@synopsys.com> | 2017-11-01 17:04:31 +0300 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-11-03 22:46:06 +0100 |
| commit | 138a082def7aeb553ba1b8d731a0500727f56424 (patch) | |
| tree | a3f8db862db71a69f72aa1fe0120feee41c6f5ec /package/gcc | |
| parent | abc292a625f0b7372b89cdb5a6876a7457ea6aa4 (diff) | |
| download | buildroot-138a082def7aeb553ba1b8d731a0500727f56424.tar.gz buildroot-138a082def7aeb553ba1b8d731a0500727f56424.zip | |
toolchain: Bump ARC tools to arc-2017.09 release
This commit finally bumps ARC tools to the most recent arc-2017.09 release version.
ARC GNU tools of version arc-2017.09 bring some quite significant changes like:
* Binutils v2.29 with additional ARC patches
* GCC 7.1.1 with additional ARC patches
* glibc 2.26 with additional ARC patches
More information on this release could be found here:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2017.09-release
Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: arc-buildroot@synopsys.com
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gcc')
| -rw-r--r-- | package/gcc/Config.in.host | 2 | ||||
| -rw-r--r-- | package/gcc/arc-2017.09-rc1/0910-Update-uses-for-hw-loop-labels.patch | 63 | ||||
| -rw-r--r-- | package/gcc/arc-2017.09-release/0100-uclibc-conf.patch (renamed from package/gcc/arc-2017.09-rc1/0100-uclibc-conf.patch) | 0 | ||||
| -rw-r--r-- | package/gcc/arc-2017.09-release/0860-cilk-fix-build-without-wchar.patch (renamed from package/gcc/arc-2017.09-rc1/0860-cilk-fix-build-without-wchar.patch) | 0 | ||||
| -rw-r--r-- | package/gcc/arc-2017.09-release/0900-remove-selftests.patch (renamed from package/gcc/arc-2017.09-rc1/0900-remove-selftests.patch) | 0 | ||||
| -rw-r--r-- | package/gcc/gcc.hash | 2 |
6 files changed, 2 insertions, 65 deletions
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host index 89f1ee28d6..1fb6b6045c 100644 --- a/package/gcc/Config.in.host +++ b/package/gcc/Config.in.host @@ -92,7 +92,7 @@ config BR2_GCC_VERSION default "5.5.0" if BR2_GCC_VERSION_5_X default "6.4.0" if BR2_GCC_VERSION_6_X default "7.2.0" if BR2_GCC_VERSION_7_X - default "arc-2017.09-rc1" if BR2_GCC_VERSION_ARC + default "arc-2017.09-release" if BR2_GCC_VERSION_ARC default "musl-5.4.0" if BR2_GCC_VERSION_OR1K config BR2_EXTRA_GCC_CONFIG_OPTIONS diff --git a/package/gcc/arc-2017.09-rc1/0910-Update-uses-for-hw-loop-labels.patch b/package/gcc/arc-2017.09-rc1/0910-Update-uses-for-hw-loop-labels.patch deleted file mode 100644 index c703909b7b..0000000000 --- a/package/gcc/arc-2017.09-rc1/0910-Update-uses-for-hw-loop-labels.patch +++ /dev/null @@ -1,63 +0,0 @@ -From cb7f97fb860b5286d3470ccda0f623f4657780a3 Mon Sep 17 00:00:00 2001 -From: claziss <claziss@synopsys.com> -Date: Tue, 19 Sep 2017 15:45:19 +0200 -Subject: [PATCH] [ARC][ZOL] Update uses for hw-loop labels. - -Make sure we mark the hw-loop labels as beeing used. - -gcc/ -2017-09-19 Claudiu Zissulescu <claziss@synopsys.com> - - * config/arc/arc.c (hwloop_optimize): Update hw-loop's end/start - labels number of usages. - -gcc/testsuite -2017-09-19 Claudiu Zissulescu <claziss@synopsys.com> - - * gcc.target/arc/loop-2.cpp: New test. ---- - gcc/config/arc/arc.c | 3 +++ - gcc/testsuite/gcc.target/arc/arc.exp | 2 +- - gcc/testsuite/gcc.target/arc/loop-2.cpp | 18 ++++++++++++++++++ - 3 files changed, 22 insertions(+), 1 deletion(-) - create mode 100644 gcc/testsuite/gcc.target/arc/loop-2.cpp - -diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c -index 5c0a872cc97..cc7fc624ff2 100644 ---- a/gcc/config/arc/arc.c -+++ b/gcc/config/arc/arc.c -@@ -7613,6 +7613,9 @@ hwloop_optimize (hwloop_info loop) - /* Insert the loop end label before the last instruction of the - loop. */ - emit_label_after (end_label, loop->last_insn); -+ /* Make sure we mark the begining and end label as used. */ -+ LABEL_NUSES (loop->end_label)++; -+ LABEL_NUSES (loop->start_label)++; - - return true; - } -diff --git a/gcc/testsuite/gcc.target/arc/loop-2.cpp b/gcc/testsuite/gcc.target/arc/loop-2.cpp -new file mode 100644 -index 00000000000..d1dc917ba47 ---- /dev/null -+++ b/gcc/testsuite/gcc.target/arc/loop-2.cpp -@@ -0,0 +1,18 @@ -+/* { dg-options "-O2" } * -+/* { dg-do assemble } */ -+ -+/* This file fails to assemble if we forgot to increase the number of -+ uses for loop's start and end labels. */ -+int a, c, d; -+int *b; -+void fn1(int p1) { -+ if (d == 5) -+ for (int i; i < p1; ++i) -+ if (c) -+ b[i] = c; -+ else -+ int t = a = t; -+ else -+ for (int i; i < p1; ++i) -+ b[i] = 0; -+} - diff --git a/package/gcc/arc-2017.09-rc1/0100-uclibc-conf.patch b/package/gcc/arc-2017.09-release/0100-uclibc-conf.patch index d354baf81f..d354baf81f 100644 --- a/package/gcc/arc-2017.09-rc1/0100-uclibc-conf.patch +++ b/package/gcc/arc-2017.09-release/0100-uclibc-conf.patch diff --git a/package/gcc/arc-2017.09-rc1/0860-cilk-fix-build-without-wchar.patch b/package/gcc/arc-2017.09-release/0860-cilk-fix-build-without-wchar.patch index 61ab01c713..61ab01c713 100644 --- a/package/gcc/arc-2017.09-rc1/0860-cilk-fix-build-without-wchar.patch +++ b/package/gcc/arc-2017.09-release/0860-cilk-fix-build-without-wchar.patch diff --git a/package/gcc/arc-2017.09-rc1/0900-remove-selftests.patch b/package/gcc/arc-2017.09-release/0900-remove-selftests.patch index a3bc7a5730..a3bc7a5730 100644 --- a/package/gcc/arc-2017.09-rc1/0900-remove-selftests.patch +++ b/package/gcc/arc-2017.09-release/0900-remove-selftests.patch diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash index cd6fdefaad..76be4552c9 100644 --- a/package/gcc/gcc.hash +++ b/package/gcc/gcc.hash @@ -8,6 +8,6 @@ sha512 02c60e54527c7adf584798d5251f8a0b80c93d5deafce82501b2c28e6692e0bd783927bb sha512 f853cd6530b4055d8d8289da74687cb4c6d5f363598d386332d31852b581bac76c3adb7d61889edec3b779f63d8646f0122840f12965ce4a4389ba535dbbb6e1 gcc-7.2.0.tar.xz # Locally calculated (fetched from Github) -sha512 c30255dc937e23f6388b4c640455114bcf86cffe923191e32d33ffcde6c4980e9d1811e85877fed3e414ed069cc3e2013993ed76331088ff0846ac50421cb426 gcc-arc-2017.09-rc1.tar.gz +sha512 c30addd3c4dc66b90749a0f99b257c8a8e7966d27f286057b6b66f4a70ca22a1ee50d92882c4db13307d769a6fb28e1e2a2bab749a692cf3f89ef0c38f145efa gcc-arc-2017.09-release.tar.gz # Locally calculated (fetched from Github) sha512 841101f7de45f327bf2e92f3efc73ca88a021e4b9b541458ce80a16e55882bd8606a8492d75c57c589ee2c10d42ae2865b67690155d7289a541df1d68096402f gcc-musl-5.4.0.tar.gz |

