mips.py: mips/o32 classes should inherit generic_mips{,el}
authorMatt Turner <mattst88@gmail.com>
Tue, 19 Jul 2011 17:09:33 +0000 (13:09 -0400)
committerMatt Turner <mattst88@gmail.com>
Tue, 19 Jul 2011 17:09:33 +0000 (13:09 -0400)
generic_mips64{,el} should only be used for n32/n64/multilib.

Signed-off-by: Matt Turner <mattst88@gmail.com>
modules/catalyst/arch/mips.py

index 094304a6ff43e2fce786fc185056a81e4465defd..4b0555128bd50181de6fd0886886bdbe2f69bbbb 100644 (file)
@@ -65,7 +65,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)
@@ -89,7 +89,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)
@@ -173,7 +173,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)
@@ -197,7 +197,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)