package/binutils: default to 2.29 for Cortex-M targets
authorLaurent GONZALEZ <br22@gezedo.com>
Thu, 31 May 2018 13:21:33 +0000 (13:21 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 1 Jun 2018 14:36:54 +0000 (16:36 +0200)
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>
package/binutils/Config.in.host

index 03b228168fccae0a1353c9a49ffc3628592f3a0c..4e578ef2ef20d53da878013b78f187a8e1e3b733 100644 (file)
@@ -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