]> git.sur5r.net Git - u-boot/commitdiff
85xx: Add -mno-spe to e500/85xx builds
authorKumar Gala <galak@kernel.crashing.org>
Tue, 29 Apr 2008 17:54:59 +0000 (12:54 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 29 Apr 2008 18:08:43 +0000 (20:08 +0200)
Newer gcc's might be configured to enable autovectorization by default.
If we happen to build with one of those compilers we will get SPE
instructions in random code.

-mno-spe disables the compiler for automatically generating SPE
instructions without our knowledge.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
cpu/mpc85xx/config.mk

index f6df702e52697de512a2eb99c9fca04c1c5d748b..9e574a20d010ce010da1a767fe21c914d686e34c 100644 (file)
@@ -25,3 +25,4 @@ PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
 
 PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx -DCONFIG_E500 -ffixed-r2 \
                        -Wa,-me500 -msoft-float -mno-string
+PLATFORM_CPPFLAGS +=$(call cc-option,-mno-spe)