* [patch 2/3] prevent string instructions for FLS_BOOKE
@ 2007-04-10 11:14 Akinobu Mita
0 siblings, 0 replies; only message in thread
From: Akinobu Mita @ 2007-04-10 11:14 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Arnd Bergmann, Paul Mackerras, cbe-oss-dev
I don't know what is the issue for FSL BookE on -mstring option.
But GCC is now putting string instructions even if you don't
specify -mstring. This patch adds -mno-string option for FLS_BOOKE
and prevents string instruction.
Signed-off-by: Akinobu Mita <mita@fixstars.com>
Index: 2.6-git-ps3/arch/powerpc/Makefile
===================================================================
--- 2.6-git-ps3.orig/arch/powerpc/Makefile
+++ 2.6-git-ps3/arch/powerpc/Makefile
@@ -102,6 +102,10 @@ CFLAGS += $(call cc-option,-mno-altivec)
# kernel considerably.
CFLAGS += $(call cc-option,-funit-at-a-time)
+ifeq ($(CONFIG_FSL_BOOKE),y)
+CFLAGS += -mno-string
+endif
+
ifeq ($(CONFIG_6xx),y)
CFLAGS += -mcpu=powerpc
endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-10 11:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-10 11:14 [patch 2/3] prevent string instructions for FLS_BOOKE Akinobu Mita
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).