From: Matt Turner Date: Tue, 19 Jul 2011 17:09:33 +0000 (-0400) Subject: mips.py: mips/o32 classes should inherit generic_mips{,el} X-Git-Tag: CATALYST-2.0.7~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c9d14be27d69f504429073f413436d2462c266ee;p=catalyst.git mips.py: mips/o32 classes should inherit generic_mips{,el} generic_mips64{,el} should only be used for n32/n64/multilib. Signed-off-by: Matt Turner --- diff --git a/arch/mips.py b/arch/mips.py index 69a5c08b..803bee87 100644 --- a/arch/mips.py +++ b/arch/mips.py @@ -66,7 +66,7 @@ class arch_mips3_multilib(generic_mips64): generic_mips64.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -mips3 -mfix-r4000 -mfix-r4400 -pipe" -class arch_mips4(generic_mips64): +class arch_mips4(generic_mips): "Builder class for MIPS IV [Big-endian]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) @@ -90,7 +90,7 @@ class arch_mips4_multilib(generic_mips64): generic_mips64.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -mips4 -pipe" -class arch_mips64(generic_mips64): +class arch_mips64(generic_mips): "Builder class for MIPS 64 [Big-endian]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) @@ -174,7 +174,7 @@ class arch_loongson2f_n32(generic_mips64el): generic_mips64el.__init__(self,myspec) self.settings["CFLAGS"]="-O3 -march=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop" -class arch_mipsel4(generic_mips64el): +class arch_mipsel4(generic_mipsel): "Builder class for all MIPS IV [Little-endian]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) @@ -198,7 +198,7 @@ class arch_mipsel4_multilib(generic_mips64el): generic_mips64el.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -mips4 -pipe" -class arch_mips64el(generic_mips64el): +class arch_mips64el(generic_mipsel): "Builder class for all MIPS 64 [Little-endian]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec)