Explorar el Código

binutils 2.29 seems to break Linux kernel in thumb2 only mode, fallback to 2.28

Waldemar Brodkorb hace 7 años
padre
commit
ff73007386
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      target/config/Config.in.binutils

+ 4 - 1
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"