summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent GONZALEZ <br22@gezedo.com>2018-05-31 13:21:33 +0000
committerPeter Korsgaard <peter@korsgaard.com>2018-06-01 16:36:54 +0200
commit17f352acdebd4a825903807f8a2d60ebea223afb (patch)
tree4cfe4f2ed0c4388db2eea91dfacc64c886b4f4db
parentca668476b3aa0ce42e7ffb79f484c5eadbcc99d2 (diff)
downloadbuildroot-17f352acdebd4a825903807f8a2d60ebea223afb.tar.gz
buildroot-17f352acdebd4a825903807f8a2d60ebea223afb.zip
package/binutils: default to 2.29 for Cortex-M targets
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@gezedo.com> Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/binutils/Config.in.host1
1 files changed, 1 insertions, 0 deletions
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
OpenPOWER on IntegriCloud