Commit:     988519acb3dbe7168276a36cbb8fd91fddbffaee
Parent:     7d43e57764fe6922703c36d8d0d56a7ead21f03d
Author:     David Gibson <[EMAIL PROTECTED]>
AuthorDate: Fri May 25 13:19:17 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Sat Jun 2 21:01:55 2007 +1000

    [POWERPC] Fix compiler/assembler flags for Ebony platform boot files
    The recent addition of assembler flags for 44x.c and ebony.c in the
    bootwrapper to make them compile on certain toolchains was not correct
    and could break other platforms.  This patch switches to using a
    compiler flag instead, which implies the appropriate assembler flag,
    and also stops the compiler itself generating instructions which are
    invalid for the platform in question.
    Signed-off-by: David Gibson <[EMAIL PROTECTED]>
    Acked-by: Segher Boessenkool <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 arch/powerpc/boot/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 8378898..378bda5 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -33,8 +33,8 @@ endif
 BOOTCFLAGS     += -I$(obj) -I$(srctree)/$(obj)
-$(obj)/44x.o: BOOTCFLAGS += -Wa,-mbooke
-$(obj)/ebony.o: BOOTCFLAGS += -Wa,-mbooke
+$(obj)/44x.o: BOOTCFLAGS += -mcpu=440
+$(obj)/ebony.o: BOOTCFLAGS += -mcpu=440
 zlib       := inffast.c inflate.c inftrees.c
 zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to