Skip to contentSkip to conversation

powerpc/86xx: Pass -mcpu=7400 to GCC

PATCH New Scott Wood 2 participants 2 messages Jul 19, 2016 – Jul 26, 2016 PowerPC

lore
Share & tools
lore

Scott Wood

author
#0 lore raw

PATCH 1/1 powerpc/86xx: Pass -mcpu=7400 to GCC

Without this, GCC uses the toolchain default, which may be incompatible with -maltivec.

---
 arch/powerpc/cpu/mpc86xx/config.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/cpu/mpc86xx/config.mk +1 -1
index 69a0b96..aefb0f1 100644
@@ -5,4 +5,4 @@
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
-PLATFORM_CPPFLAGS += -mstring -maltivec -mabi=altivec -msoft-float
+PLATFORM_CPPFLAGS += -mcpu=7400 -mstring -maltivec -mabi=altivec -msoft-float
Signature · 1 line
2.7.4
Applied
#1 lore raw

PATCH 1/1 powerpc/86xx: Pass -mcpu=7400 to GCC

Quoted 8 lines · Scott Wood

Without this, GCC uses the toolchain default, which may be incompatible with -maltivec.

---
 arch/powerpc/cpu/mpc86xx/config.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to mpc86xx master. Awaiting upstream.
Thanks.

York