1
0
Ver Fonte

cris: downgrade binutils, segfaulting ld

Waldemar Brodkorb há 6 anos atrás
pai
commit
93f6742f02
2 ficheiros alterados com 12 adições e 0 exclusões
  1. 5 0
      target/config/Config.in.binutils
  2. 7 0
      toolchain/binutils/Makefile.inc

+ 5 - 0
target/config/Config.in.binutils

@@ -8,6 +8,7 @@ default ADK_TOOLCHAIN_BINUTILS_CSKY if ADK_TARGET_ARCH_CSKY
 default ADK_TOOLCHAIN_BINUTILS_NDS32 if ADK_TARGET_ARCH_NDS32
 default ADK_TOOLCHAIN_BINUTILS_2_28 if ADK_TARGET_ARCH_ARM && ADK_KERNEL_THUMB2_KERNEL && ADK_TARGET_OS_LINUX
 default ADK_TOOLCHAIN_BINUTILS_2_28 if ADK_TARGET_CPU_SH_J2
+default ADK_TOOLCHAIN_BINUTILS_2_29 if ADK_TARGET_ARCH_CRIS
 default ADK_TOOLCHAIN_BINUTILS_2_30
 
 config ADK_TOOLCHAIN_BINUTILS_GIT
@@ -24,6 +25,10 @@ config ADK_TOOLCHAIN_BINUTILS_2_30
 	depends on !(ADK_TARGET_ARCH_ARM && ADK_KERNEL_THUMB2_KERNEL && ADK_TARGET_OS_LINUX)
 	depends on !ADK_TARGET_CPU_SH_J2
 
+config ADK_TOOLCHAIN_BINUTILS_2_29
+	bool "2.29.1"
+	depends on ADK_TARGET_ARCH_CRIS # ld segfault with 2.30
+
 config ADK_TOOLCHAIN_BINUTILS_2_28
 	bool "2.28"
 	depends on ADK_TARGET_CPU_SH_J2 \

+ 7 - 0
toolchain/binutils/Makefile.inc

@@ -9,6 +9,13 @@ PKG_HASH:=		6e46b8aeae2f727a36f0bd9505e405768a72218f1796f0d09757d45209871ae6
 PKG_SITES:=		${MASTER_SITE_GNU:=binutils/}
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.xz
 endif
+ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_29),y)
+PKG_VERSION:=		2.29.1
+PKG_RELEASE:=		1
+PKG_HASH:=		e7010a46969f9d3e53b650a518663f98a5dde3c3ae21b7d71e5e6803bc36b577
+PKG_SITES:=		${MASTER_SITE_GNU:=binutils/}
+DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.xz
+endif
 ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_28),y)
 PKG_VERSION:=		2.28
 PKG_RELEASE:=		1