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 18:19:16 +0000 (14:19 -0400)
generic_mips64{,el} should only be used for n32/n64/multilib.

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

index 69a5c08ba15ad8bfd7de6b48a6193fd5f45d7ac4..803bee87385c23611fe4228ac7807ce5e2e50192 100644 (file)
@@ -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)