From 41f3bf78cd79bd43f46214e45c4c1076bb808cfb Mon Sep 17 00:00:00 2001 From: George Koehler Date: Wed, 18 Oct 2017 13:23:01 -0400 Subject: [PATCH] Edit descr for linuxppc. Use powerpc.descr of ego. ack -mlinuxppc -O4 now runs more phases of ego, including the register allocation phase, so ncg emits better code. Set MACHOPT_F=-m3 as I did it for osxppc; see commit 0c2b6f5. Remove CC_ALIGN=-Vr so bitfields agree with gcc for PowerPC Linux. Remove unused C_LIB and OLD_C_LIB. --- plat/linuxppc/descr | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plat/linuxppc/descr b/plat/linuxppc/descr index ced1de4b1..1bbb9fbd9 100644 --- a/plat/linuxppc/descr +++ b/plat/linuxppc/descr @@ -19,11 +19,8 @@ var PLATFORM=linuxppc var PLATFORMDIR={EM}/share/ack/{PLATFORM} var CPP_F=-D__unix var ALIGN=-a0:4 -a1:4 -a2:4 -a3:4 -b0:0x10000054 -var C_LIB={PLATFORMDIR}/libc-ansi.a -# bitfields reversed for compatibility with (g)cc. -var CC_ALIGN=-Vr -var OLD_C_LIB={C_LIB} -var MACHOPT_F= +var MACHOPT_F=-m3 +var EGO_PLAT_FLAGS=-M{EM}/share/ack/ego/{ARCH}.descr # Override the setting in fe so that files compiled for linuxppc can see # the platform-specific headers.