mips.py: call correct constructor in o32 classes
authorMatt Turner <mattst88@gmail.com>
Wed, 17 Aug 2011 04:16:59 +0000 (00:16 -0400)
committerMatt Turner <mattst88@gmail.com>
Wed, 17 Aug 2011 04:16:59 +0000 (00:16 -0400)
modules/catalyst/arch/mips.py

index f042af41d53126c2407f76217dbcefa9a40ab171..af962c406e17942724502b8a15a64b1e05e8c0ee 100644 (file)
@@ -74,7 +74,7 @@ class arch_mips3_multilib(generic_mips64):
 class arch_mips4(generic_mips):
        "Builder class for MIPS IV [Big-endian]"
        def __init__(self,myspec):
-               generic_mips64.__init__(self,myspec)
+               generic_mips.__init__(self,myspec)
                self.settings["CFLAGS"]="-O2 -mips4 -mabi=32 -pipe"
 
 class arch_mips4_n32(generic_mips64):
@@ -98,7 +98,7 @@ class arch_mips4_multilib(generic_mips64):
 class arch_mips64(generic_mips):
        "Builder class for MIPS 64 [Big-endian]"
        def __init__(self,myspec):
-               generic_mips64.__init__(self,myspec)
+               generic_mips.__init__(self,myspec)
                self.settings["CFLAGS"]="-O2 -march=mips64 -mabi=32 -pipe"
 
 class arch_mips64_n32(generic_mips64):
@@ -212,7 +212,7 @@ class arch_loongson2f_n32(generic_mips64el):
 class arch_mipsel4(generic_mipsel):
        "Builder class for all MIPS IV [Little-endian]"
        def __init__(self,myspec):
-               generic_mips64el.__init__(self,myspec)
+               generic_mipsel.__init__(self,myspec)
                self.settings["CFLAGS"]="-O2 -mips4 -mabi=32 -pipe"
 
 class arch_mipsel4_n32(generic_mips64el):
@@ -236,7 +236,7 @@ class arch_mipsel4_multilib(generic_mips64el):
 class arch_mips64el(generic_mipsel):
        "Builder class for all MIPS 64 [Little-endian]"
        def __init__(self,myspec):
-               generic_mips64el.__init__(self,myspec)
+               generic_mipsel.__init__(self,myspec)
                self.settings["CFLAGS"]="-O2 -march=mips64 -mabi=32 -pipe"
 
 class arch_mips64el_n32(generic_mips64el):