DORMANTno replies

[patch 2/3] prevent string instructions for FLS_BOOKE

From: Akinobu Mita <hidden>
Date: 2007-04-10 11:14:02

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 <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help