From ff7300738603120d353c8398c4b911d813393522 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 3 Oct 2017 19:13:50 +0200 Subject: binutils 2.29 seems to break Linux kernel in thumb2 only mode, fallback to 2.28 --- target/config/Config.in.binutils | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'target') diff --git a/target/config/Config.in.binutils b/target/config/Config.in.binutils index 9142c2d79..a23f80f19 100644 --- a/target/config/Config.in.binutils +++ b/target/config/Config.in.binutils @@ -7,6 +7,7 @@ default ADK_TOOLCHAIN_BINUTILS_ARC if ADK_TARGET_ARCH_ARC 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_20_1 if ADK_TARGET_ARCH_AVR32 +default ADK_TOOLCHAIN_BINUTILS_2_28 if ADK_TARGET_ARCH_ARM && ADK_KERNEL_THUMB2_KERNEL default ADK_TOOLCHAIN_BINUTILS_2_28 if ADK_TARGET_CPU_SH_J2 default ADK_TOOLCHAIN_BINUTILS_2_29 @@ -21,11 +22,13 @@ config ADK_TOOLCHAIN_BINUTILS_2_29 depends on !ADK_TARGET_ARCH_AVR32 depends on !ADK_TARGET_ARCH_CSKY depends on !ADK_TARGET_ARCH_NDS32 + depends on !(ADK_TARGET_ARCH_ARM && ADK_KERNEL_THUMB2_KERNEL) depends on !ADK_TARGET_CPU_SH_J2 config ADK_TOOLCHAIN_BINUTILS_2_28 bool "2.28" - depends on ADK_TARGET_CPU_SH_J2 + depends on ADK_TARGET_CPU_SH_J2 \ + || (ADK_TARGET_ARCH_ARM && ADK_KERNEL_THUMB2_KERNEL) config ADK_TOOLCHAIN_BINUTILS_NDS32 bool "2.24-nds32" -- cgit v1.2.3