toolchain: Bump ARC tools to arc-2016.03
This change switches ARC tools to the most recent arc-2016.03 version. ARC GNU tools of version arc-2016.03 bring some quite significant changes like: * Binutils v2.26+ (upstream commit id 202ac19 with additional ARC * patches) * GCC v4.8.5 * GDB 7.10 More about changes, improvements and fixes could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2016.03 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
This commit is contained in:
committed by
Felix Fietkau
parent
8d105653b1
commit
d354bfde17
@@ -3,7 +3,7 @@
|
||||
choice
|
||||
prompt "Binutils Version" if TOOLCHAINOPTS
|
||||
default BINUTILS_USE_VERSION_2_25_1 if !arc
|
||||
default BINUTILS_USE_VERSION_2_23_ARC if arc
|
||||
default BINUTILS_USE_VERSION_2_26_ARC if arc
|
||||
help
|
||||
Select the version of binutils you wish to use.
|
||||
|
||||
@@ -17,10 +17,10 @@ choice
|
||||
bool "Binutils 2.25.1"
|
||||
select BINUTILS_VERSION_2_25_1
|
||||
|
||||
config BINUTILS_USE_VERSION_2_23_ARC
|
||||
config BINUTILS_USE_VERSION_2_26_ARC
|
||||
depends on arc
|
||||
bool "ARC binutils 2.23"
|
||||
select BINUTILS_VERSION_2_23_ARC
|
||||
bool "ARC binutils 2.26"
|
||||
select BINUTILS_VERSION_2_26_ARC
|
||||
|
||||
endchoice
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ config BINUTILS_VERSION_2_25_1
|
||||
default y if (!TOOLCHAINOPTS && !arc)
|
||||
bool
|
||||
|
||||
config BINUTILS_VERSION_2_23_ARC
|
||||
config BINUTILS_VERSION_2_26_ARC
|
||||
default y if (!TOOLCHAINOPTS && arc)
|
||||
bool
|
||||
|
||||
@@ -13,5 +13,5 @@ config BINUTILS_VERSION
|
||||
string
|
||||
default "2.24-linaro" if BINUTILS_VERSION_2_24_LINARO
|
||||
default "2.25.1" if BINUTILS_VERSION_2_25_1
|
||||
default "arc-2015.06" if BINUTILS_VERSION_2_23_ARC
|
||||
default "arc-2016.03" if BINUTILS_VERSION_2_26_ARC
|
||||
|
||||
|
||||
@@ -26,11 +26,11 @@ ifeq ($(findstring linaro, $(CONFIG_BINUTILS_VERSION)),linaro)
|
||||
HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(BINUTILS_DIR)
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_BINUTILS_VERSION_2_23_ARC),)
|
||||
PKG_SOURCE_URL:=https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/archive/arc-2015.06/
|
||||
PKG_REV:=2015.06
|
||||
ifneq ($(CONFIG_BINUTILS_VERSION_2_26_ARC),)
|
||||
PKG_SOURCE_URL:=https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/archive/arc-2016.03/
|
||||
PKG_REV:=2016.03
|
||||
PKG_SOURCE:=$(PKG_NAME)-arc-$(PKG_REV).tar.gz
|
||||
PKG_MD5SUM:=961a3564de857238c255c381f8e4360b
|
||||
PKG_MD5SUM:=d4387bab089df77a8049c81980b9fa12
|
||||
BINUTILS_DIR:=$(PKG_NAME)-gdb-arc-$(PKG_REV)
|
||||
HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(BINUTILS_DIR)
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/bfd/config.bfd b/bfd/config.bfd
|
||||
index 5145d4a..a9c9c99 100644
|
||||
--- a/bfd/config.bfd
|
||||
+++ b/bfd/config.bfd
|
||||
@@ -275,7 +275,7 @@ case "${targ}" in
|
||||
targ_defvec=am33_elf32_linux_vec
|
||||
;;
|
||||
|
||||
- arc*-*-elf* | arc*-*-linux-uclibc*)
|
||||
+ arc*-*-elf* | arc*-*-linux-*)
|
||||
targ_defvec=arc_elf32_le_vec
|
||||
targ_selvecs=arc_elf32_be_vec
|
||||
;;
|
||||
Reference in New Issue
Block a user