From: Kumar Gala Date: Tue, 29 Apr 2008 17:54:59 +0000 (-0500) Subject: 85xx: Add -mno-spe to e500/85xx builds X-Git-Tag: v1.3.3-rc2~5 X-Git-Url: https://git.sur5r.net/?p=u-boot;a=commitdiff_plain;h=70a0f81412b0b18a6fd0bea960451bc6c2cca49a 85xx: Add -mno-spe to e500/85xx builds 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 --- diff --git a/cpu/mpc85xx/config.mk b/cpu/mpc85xx/config.mk index f6df702e52..9e574a20d0 100644 --- a/cpu/mpc85xx/config.mk +++ b/cpu/mpc85xx/config.mk @@ -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)