toolchain: Bump ARC tools to arc-2017.03 release
This commit finally bumps ARC toolchain to arc-2017.03 release. More info on this release could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2017.03 Note mentioned above web-page is not yet populated but should be very soon. As a safe fall-back interested could refer to RC2 page here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2017.03-rc2 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
6bc8de6f9d
commit
0ade154f23
|
@ -23,7 +23,7 @@ endchoice
|
||||||
|
|
||||||
config BR2_BINUTILS_VERSION
|
config BR2_BINUTILS_VERSION
|
||||||
string
|
string
|
||||||
default "arc-2017.03-rc2" if BR2_arc
|
default "arc-2017.03" if BR2_arc
|
||||||
default "2.26.1" if BR2_BINUTILS_VERSION_2_26_X
|
default "2.26.1" if BR2_BINUTILS_VERSION_2_26_X
|
||||||
default "2.27" if BR2_BINUTILS_VERSION_2_27_X
|
default "2.27" if BR2_BINUTILS_VERSION_2_27_X
|
||||||
default "2.28" if BR2_BINUTILS_VERSION_2_28_X
|
default "2.28" if BR2_BINUTILS_VERSION_2_28_X
|
||||||
|
|
|
@ -4,4 +4,4 @@ sha512 cf276f84935312361a2ca077e04d0b469d23a3aed979d8ba5d92ea590904ffb2c2e7ed12c
|
||||||
sha512 ede2e4e59a800260eea8c14eafbaee94e30abadafd5c419a3370f9f62213cf027d6400a1d4970b6958bd4d220e675dcd483a708107016e7abd5c99d7392ba8fd binutils-2.28.tar.bz2
|
sha512 ede2e4e59a800260eea8c14eafbaee94e30abadafd5c419a3370f9f62213cf027d6400a1d4970b6958bd4d220e675dcd483a708107016e7abd5c99d7392ba8fd binutils-2.28.tar.bz2
|
||||||
|
|
||||||
# Locally calculated (fetched from Github)
|
# Locally calculated (fetched from Github)
|
||||||
sha512 577fbd59dc8d41022ed511b86f3afc49af48ab798a7b187411a466621dc6247dff7dd84fa110ca278f09a9e523d8bdb892a233c00bf47d11b92be70e7278efe9 binutils-arc-2017.03-rc2.tar.gz
|
sha512 07d5639e74eafe8fced259870c1a7dedee67c534573dda53fb78ee1ffeec9e17479fdde41dccd03b1cf0248023acbef7f66013398b2f722e4a8891ac680d1d16 binutils-arc-2017.03.tar.gz
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
|
BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
|
||||||
ifeq ($(BINUTILS_VERSION),)
|
ifeq ($(BINUTILS_VERSION),)
|
||||||
ifeq ($(BR2_arc),y)
|
ifeq ($(BR2_arc),y)
|
||||||
BINUTILS_VERSION = arc-2017.03-rc2
|
BINUTILS_VERSION = arc-2017.03
|
||||||
else
|
else
|
||||||
BINUTILS_VERSION = 2.27
|
BINUTILS_VERSION = 2.27
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -106,7 +106,7 @@ config BR2_GCC_VERSION
|
||||||
default "4.9.4" if BR2_GCC_VERSION_4_9_X
|
default "4.9.4" if BR2_GCC_VERSION_4_9_X
|
||||||
default "5.4.0" if BR2_GCC_VERSION_5_X
|
default "5.4.0" if BR2_GCC_VERSION_5_X
|
||||||
default "6.3.0" if BR2_GCC_VERSION_6_X
|
default "6.3.0" if BR2_GCC_VERSION_6_X
|
||||||
default "arc-2017.03-rc2" if BR2_GCC_VERSION_ARC
|
default "arc-2017.03" if BR2_GCC_VERSION_ARC
|
||||||
default "musl-5.4.0" if BR2_GCC_VERSION_OR1K
|
default "musl-5.4.0" if BR2_GCC_VERSION_OR1K
|
||||||
|
|
||||||
config BR2_EXTRA_GCC_CONFIG_OPTIONS
|
config BR2_EXTRA_GCC_CONFIG_OPTIONS
|
||||||
|
|
|
@ -1,58 +0,0 @@
|
||||||
From 139fed9d29ab935b3bc5159c0bdf7b8b8a39442d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Claudiu Zissulescu <claziss@gmail.com>
|
|
||||||
Date: Mon, 15 May 2017 05:05:27 -0400
|
|
||||||
Subject: [PATCH] [FIX] PIC: return false for any PIC related unspecs
|
|
||||||
|
|
||||||
---
|
|
||||||
gcc/config/arc/arc.c | 9 ++++-----
|
|
||||||
gcc/testsuite/gcc.target/arc/pr9001191897.c | 10 ++++++++++
|
|
||||||
2 files changed, 14 insertions(+), 5 deletions(-)
|
|
||||||
create mode 100644 gcc/testsuite/gcc.target/arc/pr9001191897.c
|
|
||||||
|
|
||||||
diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
|
|
||||||
index 3d53a667d37f..b00126f4d2c4 100644
|
|
||||||
--- a/gcc/config/arc/arc.c
|
|
||||||
+++ b/gcc/config/arc/arc.c
|
|
||||||
@@ -6056,11 +6056,8 @@ arc_legitimate_constant_p (machine_mode mode, rtx x)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
case NEG:
|
|
||||||
- /* Assembler does not understand -(@label@gotoff). Also, we do
|
|
||||||
- not print such pic address constant. */
|
|
||||||
- if (GET_CODE (XEXP (x, 0)) == UNSPEC)
|
|
||||||
- return false;
|
|
||||||
return arc_legitimate_constant_p (mode, XEXP (x, 0));
|
|
||||||
+
|
|
||||||
case PLUS:
|
|
||||||
case MINUS:
|
|
||||||
{
|
|
||||||
@@ -6090,7 +6087,9 @@ arc_legitimate_constant_p (machine_mode mode, rtx x)
|
|
||||||
case UNSPEC_TLS_IE:
|
|
||||||
return true;
|
|
||||||
default:
|
|
||||||
- break;
|
|
||||||
+ /* Any other unspec ending here are pic related, hence the above
|
|
||||||
+ constant pic address checking returned false. */
|
|
||||||
+ return false;
|
|
||||||
}
|
|
||||||
/* Fall through. */
|
|
||||||
|
|
||||||
diff --git a/gcc/testsuite/gcc.target/arc/pr9001191897.c b/gcc/testsuite/gcc.target/arc/pr9001191897.c
|
|
||||||
new file mode 100644
|
|
||||||
index 000000000000..2b9e1689803f
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/gcc/testsuite/gcc.target/arc/pr9001191897.c
|
|
||||||
@@ -0,0 +1,10 @@
|
|
||||||
+/* { dg-do compile } */
|
|
||||||
+/* { dg-skip-if "" { ! { clmcpu } } } */
|
|
||||||
+/* { dg-options "-mcpu=arch2 -Os -fpic -mno-sdata -mno-indexed-loads -w" } */
|
|
||||||
+a;
|
|
||||||
+c() {
|
|
||||||
+ static char b[25];
|
|
||||||
+ for (; a >= 0; a--)
|
|
||||||
+ if (b[a])
|
|
||||||
+ b[a] = '\0';
|
|
||||||
+}
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
|
@ -12,6 +12,6 @@ sha512 2941cc950c8f2409a314df497631f9b0266211aa74746c1839c46e04f1c7c299afe2528d
|
||||||
sha512 234dd9b1bdc9a9c6e352216a7ef4ccadc6c07f156006a59759c5e0e6a69f0abcdc14630eff11e3826dd6ba5933a8faa43043f3d1d62df6bd5ab1e82862f9bf78 gcc-6.3.0.tar.bz2
|
sha512 234dd9b1bdc9a9c6e352216a7ef4ccadc6c07f156006a59759c5e0e6a69f0abcdc14630eff11e3826dd6ba5933a8faa43043f3d1d62df6bd5ab1e82862f9bf78 gcc-6.3.0.tar.bz2
|
||||||
|
|
||||||
# Locally calculated (fetched from Github)
|
# Locally calculated (fetched from Github)
|
||||||
sha512 8157d784367de2de853f7d288a213ee3222ac77321d18a887cd5a9c55b53f5948cc8608ec82398cb7e0a155ffa79f86f6469a23b505b22cd0eb5b69d610abd41 gcc-arc-2017.03-rc2.tar.gz
|
sha512 282f76b8b63372f5b4426092b80d36da96cd0bda2a8588405b9ec22806c69fafb696b0e0df65bc36c3c3aa8ce5befc24246fd5c6ddb21dcde01f45f7b11ff7c4 gcc-arc-2017.03.tar.gz
|
||||||
# Locally calculated (fetched from Github)
|
# Locally calculated (fetched from Github)
|
||||||
sha512 841101f7de45f327bf2e92f3efc73ca88a021e4b9b541458ce80a16e55882bd8606a8492d75c57c589ee2c10d42ae2865b67690155d7289a541df1d68096402f gcc-musl-5.4.0.tar.gz
|
sha512 841101f7de45f327bf2e92f3efc73ca88a021e4b9b541458ce80a16e55882bd8606a8492d75c57c589ee2c10d42ae2865b67690155d7289a541df1d68096402f gcc-musl-5.4.0.tar.gz
|
||||||
|
|
|
@ -55,7 +55,7 @@ endif
|
||||||
# If cross-gdb is not enabled, the latest working version is chosen.
|
# If cross-gdb is not enabled, the latest working version is chosen.
|
||||||
config BR2_GDB_VERSION
|
config BR2_GDB_VERSION
|
||||||
string
|
string
|
||||||
default "arc-2017.03-rc2-gdb" if BR2_arc
|
default "arc-2017.03-gdb" if BR2_arc
|
||||||
default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
|
default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
|
||||||
default "7.10.1" if BR2_GDB_VERSION_7_10
|
default "7.10.1" if BR2_GDB_VERSION_7_10
|
||||||
default "7.11.1" if BR2_GDB_VERSION_7_11 || !BR2_PACKAGE_HOST_GDB
|
default "7.11.1" if BR2_GDB_VERSION_7_11 || !BR2_PACKAGE_HOST_GDB
|
||||||
|
|
|
@ -5,4 +5,4 @@ sha512 0ac8d0a495103611ef41167a08313a010dce6ca4c6d827cbe8558a0c1a1a8a6bfa53f1b7
|
||||||
|
|
||||||
# Locally calculated (fetched from Github)
|
# Locally calculated (fetched from Github)
|
||||||
sha512 0a467091d4b01fbecabb4b8da1cb743025c70e7f4874a0b5c8fa2ec623569a39bde6762b91806de0be6e63711aeb6909715cfbe43860de73d8aec6159a9f10a7 gdb-6be65fb56ea6694a9260733a536a023a1e2d4d57.tar.gz
|
sha512 0a467091d4b01fbecabb4b8da1cb743025c70e7f4874a0b5c8fa2ec623569a39bde6762b91806de0be6e63711aeb6909715cfbe43860de73d8aec6159a9f10a7 gdb-6be65fb56ea6694a9260733a536a023a1e2d4d57.tar.gz
|
||||||
sha512 275241c215d0bd32ab0f9f16358c46a66fd0d5db09d9a148b169a6b8135cfe91c6240a6bb75977573d4fc449a98f0702254577cbdc4598c6153ebbdca39253cf gdb-arc-2017.03-rc2-gdb.tar.gz
|
sha512 8ec849a5ea1c16f104c51c4813c35ab229e460eef0025967673b87316f62b5171f05448cda018464914d43d2da50b2902eb7f9f060d0af1368a9db111f959668 gdb-arc-2017.03-gdb.tar.gz
|
||||||
|
|
Loading…
Reference in a new issue