[Buildroot] [git commit] package/binutils: default to 2.29 for Cortex-M targets

Peter Korsgaard peter at korsgaard.com
Fri Jun 1 14:36:54 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=17f352acdebd4a825903807f8a2d60ebea223afb
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

binutils 2.29 changed the implementation of adr pseudo instruction
it breaks linux kernel and impacts Cortex-M targets (eg. stm32)

[Peter: simplify Config.in logic, adjust message to make it clear this is
	just a default]
Signed-off-by: Laurent GONZALEZ <br22 at gezedo.com>
Signed-off-by: Christophe Priouzeau <christophe.priouzeau at st.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/binutils/Config.in.host | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index 03b228168f..4e578ef2ef 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -2,6 +2,7 @@ comment "Binutils Options"
 
 choice
 	prompt "Binutils Version"
+	default BR2_BINUTILS_VERSION_2_28_X if BR2_ARM_CPU_ARMV7M
 	default BR2_BINUTILS_VERSION_2_29_X if !BR2_arc
 	default BR2_BINUTILS_VERSION_ARC if BR2_arc
 	help


More information about the buildroot mailing list