All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/binutils: Cortex-M targets require version <2.29
@ 2018-04-16 12:21 Laurent GONZALEZ
  2018-04-17  6:49 ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Laurent GONZALEZ @ 2018-04-16 12:21 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Laurent GONZALEZ <br22@gezedo.com>
---
 package/binutils/Config.in.host | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index 22478d917a..ef957777ee 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -2,8 +2,9 @@ comment "Binutils Options"
 
 choice
 	prompt "Binutils Version"
-	default BR2_BINUTILS_VERSION_2_29_X if !BR2_arc
-	default BR2_BINUTILS_VERSION_ARC if BR2_arc
+	default BR2_BINUTILS_VERSION_2_28_X if BR2_ARM_CPU_ARMV7M
+	default BR2_BINUTILS_VERSION_2_29_X if !BR2_arc && !BR2_ARM_CPU_ARMV7M
+	default BR2_BINUTILS_VERSION_ARC if BR2_arc && !BR2_ARM_CPU_ARMV7M
 	help
 	  Select the version of binutils you wish to use.
 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-17  9:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-16 12:21 [Buildroot] [PATCH] package/binutils: Cortex-M targets require version <2.29 Laurent GONZALEZ
2018-04-17  6:49 ` Thomas Petazzoni
2018-04-17  7:04   ` Laurent GONZALEZ
2018-04-17  7:19     ` Thomas Petazzoni
2018-04-17  8:08       ` Laurent GONZALEZ
2018-04-17  9:39       ` Laurent GONZALEZ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.