Edit descr for linuxppc. Use powerpc.descr of ego.
authorGeorge Koehler <xkernigh@netscape.net>
Wed, 18 Oct 2017 17:23:01 +0000 (13:23 -0400)
committerGeorge Koehler <xkernigh@netscape.net>
Wed, 18 Oct 2017 17:23:01 +0000 (13:23 -0400)
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

index ced1de4..1bbb9fb 100644 (file)
@@ -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.