* [PATCH] [Nios2]: Disable emitting mul instructions by gcc
@ 2011-06-13 20:33 franck.jullien
0 siblings, 0 replies; only message in thread
From: franck.jullien @ 2011-06-13 20:33 UTC (permalink / raw)
To: barebox
From: Franck Jullien <franck.jullien@gmail.com>
If we are using barebox on a NiosII/e variant, the
mul instruction is not supported and causes an exception.
Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
---
arch/nios2/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile
index 6603da5..b94e074 100644
--- a/arch/nios2/Makefile
+++ b/arch/nios2/Makefile
@@ -1,4 +1,4 @@
-CPPFLAGS += -fno-strict-aliasing
+CPPFLAGS += -fno-strict-aliasing -mno-hw-mul
board-$(CONFIG_GENERIC) := generic
--
1.7.0.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-13 20:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-13 20:33 [PATCH] [Nios2]: Disable emitting mul instructions by gcc franck.jullien
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox