From f909361a70f6fc7ac5d91d6c5915b68ea683cdc4 Mon Sep 17 00:00:00 2001 From: "John P. Davis" Date: Mon, 3 Jan 2005 21:09:09 +0000 Subject: [PATCH] new PPC arch file from pvdabeel@gentoo.org git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@506 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 5 ++++- arch/ppc.py | 22 ++++++++-------------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8e27eb67..39620843 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for gentoo/src/catalyst # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.133 2005/01/02 04:15:51 zhen Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.134 2005/01/03 21:09:08 zhen Exp $ + + 03 Jan 2005; John Davis arch/ppc.py: + new PPC arch file from pvdabeel@gentoo.org 01 Jan 2005; John Davis catalyst, examples/generic_stage_template.spec, modules/catalyst_support.py: diff --git a/arch/ppc.py b/arch/ppc.py index 0f18d1bf..44a81fe2 100644 --- a/arch/ppc.py +++ b/arch/ppc.py @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/arch/ppc.py,v 1.11 2004/10/15 02:36:00 zhen Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/arch/ppc.py,v 1.12 2005/01/03 21:09:09 zhen Exp $ import os,builder from catalyst_support import * @@ -27,44 +27,38 @@ class arch_power_ppc(generic_ppc): "builder class for generic powerpc/power" def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O3 -mcpu=common" + self.settings["CFLAGS"]="-O2 -mtune=common -fno-strict-aliasing -pipe" class arch_ppc(generic_ppc): "builder class for generic powerpc" def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O3 -mcpu=powerpc" + self.settings["CFLAGS"]="-O2 -mtune=powerpc -fno-strict-aliasing -pipe" class arch_power(generic_ppc): "builder class for generic power" def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O3 -mcpu=power" + self.settings["CFLAGS"]="-O2 -mtune=power -fno-strict-aliasing -pipe" class arch_g3(generic_ppc): def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O3 -mcpu=G3 -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mtune=G3 -fno-strict-aliasing -pipe" class arch_g4(generic_ppc): def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O3 -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" self.settings["HOSTUSE"]=["altivec"] class arch_g5(generic_ppc): def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -mcpu=G5 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mtune=G5 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" self.settings["HOSTUSE"]=["altivec"] -class arch_experimental(generic_ppc): - def __init__(self,myspec): - generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O3 -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing" - self.settings["HOSTUSE"]=["altivec"] - def register(foo): "Inform main catalyst program of the contents of this plugin." - foo.update({"experimental":arch_experimental,"ppc":arch_ppc,"power":arch_power,"power-ppc":arch_power_ppc,"g3":arch_g3,"g4":arch_g4,"g5":arch_g5}) + foo.update({"ppc":arch_ppc,"power":arch_power,"power-ppc":arch_power_ppc,"g3":arch_g3,"g4":arch_g4,"g5":arch_g5}) -- 2.26.2