prevent string instructions for FLS_BOOKE
PATCH 2/3 prevent string instructions for FLS_BOOKE
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 <[email protected]>
arch/powerpc/Makefile +4 -0
@@ -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