diff options
author | Matt Turner <mattst88@gmail.com> | 2012-03-17 14:27:50 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2012-03-17 14:34:19 -0400 |
commit | 335ab431340f720d1961209f563528bce050c301 (patch) | |
tree | f1c1fa54baf960a887fb2554d02ca3434f15d30a /arch | |
parent | amd64.py: define CHOST for nocona and core2 (diff) | |
download | catalyst-335ab431340f720d1961209f563528bce050c301.tar.gz catalyst-335ab431340f720d1961209f563528bce050c301.tar.bz2 catalyst-335ab431340f720d1961209f563528bce050c301.zip |
mips.py: add -mplt to non-n64 CFLAGS
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips.py | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/arch/mips.py b/arch/mips.py index 7ffc741a..1d463f0c 100644 --- a/arch/mips.py +++ b/arch/mips.py @@ -34,45 +34,45 @@ class arch_mips1(generic_mips): "Builder class for MIPS I [Big-endian]" def __init__(self,myspec): generic_mips.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips1 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips1 -mabi=32 -mplt -pipe" class arch_mips32(generic_mips): "Builder class for MIPS 32 [Big-endian]" def __init__(self,myspec): generic_mips.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips32 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips32 -mabi=32 -mplt -pipe" class arch_mips32_softfloat(generic_mips): "Builder class for MIPS 32 [Big-endian softfloat]" def __init__(self,myspec): generic_mips.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips32 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips32 -mabi=32 -mplt -pipe" self.settings["CHOST"]="mips-softfloat-linux-gnu" class arch_mips32r2(generic_mips): "Builder class for MIPS 32r2 [Big-endian]" def __init__(self,myspec): generic_mips.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips32r2 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips32r2 -mabi=32 -mplt -pipe" class arch_mips32r2_softfloat(generic_mips): "Builder class for MIPS 32r2 [Big-endian softfloat]" def __init__(self,myspec): generic_mips.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips32r2 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips32r2 -mabi=32 -mplt -pipe" self.settings["CHOST"]="mips-softfloat-linux-gnu" class arch_mips3(generic_mips): "Builder class for MIPS III [Big-endian]" def __init__(self,myspec): generic_mips.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips3 -mabi=32 -mfix-r4000 -mfix-r4400 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips3 -mabi=32 -mplt -mfix-r4000 -mfix-r4400 -pipe" class arch_mips3_n32(generic_mips64): "Builder class for MIPS III [Big-endian N32]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips3 -mabi=n32 -mfix-r4000 -mfix-r4400 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips3 -mabi=n32 -mplt -mfix-r4000 -mfix-r4400 -pipe" class arch_mips3_n64(generic_mips64): "Builder class for MIPS III [Big-endian N64]" @@ -84,19 +84,19 @@ class arch_mips3_multilib(generic_mips64): "Builder class for MIPS III [Big-endian multilib]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips3 -mfix-r4000 -mfix-r4400 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips3 -mplt -mfix-r4000 -mfix-r4400 -pipe" class arch_mips4(generic_mips): "Builder class for MIPS IV [Big-endian]" def __init__(self,myspec): generic_mips.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips4 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips4 -mabi=32 -mplt -pipe" class arch_mips4_n32(generic_mips64): "Builder class for MIPS IV [Big-endian N32]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips4 -mabi=n32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips4 -mabi=n32 -mplt -pipe" class arch_mips4_n64(generic_mips64): "Builder class for MIPS IV [Big-endian N64]" @@ -108,19 +108,19 @@ class arch_mips4_multilib(generic_mips64): "Builder class for MIPS IV [Big-endian multilib]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips4 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips4 -mplt -pipe" class arch_mips4_r10k(generic_mips): "Builder class for MIPS IV R10k [Big-endian]" def __init__(self,myspec): generic_mips.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=r10k -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=r10k -mabi=32 -mplt -pipe" class arch_mips4_r10k_n32(generic_mips64): "Builder class for MIPS IV R10k [Big-endian N32]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=r10k -mabi=n32 -pipe" + self.settings["CFLAGS"]="-O2 -march=r10k -mabi=n32 -mplt -pipe" class arch_mips4_r10k_n64(generic_mips64): "Builder class for MIPS IV R10k [Big-endian N64]" @@ -132,19 +132,19 @@ class arch_mips4_r10k_multilib(generic_mips64): "Builder class for MIPS IV R10k [Big-endian multilib]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=r10k -pipe" + self.settings["CFLAGS"]="-O2 -march=r10k -mplt -pipe" class arch_mips64(generic_mips): "Builder class for MIPS 64 [Big-endian]" def __init__(self,myspec): generic_mips.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips64 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips64 -mabi=32 -mplt -pipe" class arch_mips64_n32(generic_mips64): "Builder class for MIPS 64 [Big-endian N32]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips64 -mabi=n32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips64 -mabi=n32 -mplt -pipe" class arch_mips64_n64(generic_mips64): "Builder class for MIPS 64 [Big-endian N64]" @@ -156,19 +156,19 @@ class arch_mips64_multilib(generic_mips64): "Builder class for MIPS 64 [Big-endian multilib]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips64 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips64 -mplt -pipe" class arch_mips64r2(generic_mips): "Builder class for MIPS 64r2 [Big-endian]" def __init__(self,myspec): generic_mips.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips64r2 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips64r2 -mabi=32 -mplt -pipe" class arch_mips64r2_n32(generic_mips64): "Builder class for MIPS 64r2 [Big-endian N32]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips64r2 -mabi=n32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips64r2 -mabi=n32 -mplt -pipe" class arch_mips64r2_n64(generic_mips64): "Builder class for MIPS 64r2 [Big-endian N64]" @@ -180,51 +180,51 @@ class arch_mips64r2_multilib(generic_mips64): "Builder class for MIPS 64r2 [Big-endian multilib]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips64r2 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips64r2 -mplt -pipe" class arch_mipsel1(generic_mipsel): "Builder class for MIPS I [Little-endian]" def __init__(self,myspec): generic_mipsel.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips1 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips1 -mabi=32 -mplt -pipe" class arch_mips32el(generic_mipsel): "Builder class for MIPS 32 [Little-endian]" def __init__(self,myspec): generic_mipsel.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips32 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips32 -mabi=32 -mplt -pipe" class arch_mips32el_softfloat(generic_mipsel): "Builder class for MIPS 32 [Little-endian softfloat]" def __init__(self,myspec): generic_mipsel.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips32 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips32 -mabi=32 -mplt -pipe" self.settings["CHOST"]="mipsel-softfloat-linux-gnu" class arch_mips32r2el(generic_mipsel): "Builder class for MIPS 32r2 [Little-endian]" def __init__(self,myspec): generic_mipsel.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips32r2 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips32r2 -mabi=32 -mplt -pipe" class arch_mips32r2el_softfloat(generic_mipsel): "Builder class for MIPS 32r2 [Little-endian softfloat]" def __init__(self,myspec): generic_mipsel.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips32r2 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips32r2 -mabi=32 -mplt -pipe" self.settings["CHOST"]="mipsel-softfloat-linux-gnu" class arch_mipsel3(generic_mipsel): "Builder class for MIPS III [Little-endian]" def __init__(self,myspec): generic_mipsel.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips3 -mabi=32 -Wa,-mfix-loongson2f-nop -pipe" + self.settings["CFLAGS"]="-O2 -march=mips3 -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -pipe" class arch_mipsel3_n32(generic_mips64el): "Builder class for MIPS III [Little-endian N32]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips3 -mabi=n32 -Wa,-mfix-loongson2f-nop -pipe" + self.settings["CFLAGS"]="-O2 -march=mips3 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -pipe" class arch_mipsel3_n64(generic_mips64el): "Builder class for MIPS III [Little-endian N64]" @@ -236,43 +236,43 @@ class arch_mipsel3_multilib(generic_mips64el): "Builder class for MIPS III [Little-endian multilib]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips3 -Wa,-mfix-loongson2f-nop -pipe" + self.settings["CFLAGS"]="-O2 -march=mips3 -mplt -Wa,-mfix-loongson2f-nop -pipe" class arch_loongson2e(generic_mipsel): "Builder class for Loongson 2E [Little-endian]" def __init__(self,myspec): generic_mipsel.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=loongson2e -mabi=32 -pipe -mplt" + self.settings["CFLAGS"]="-O2 -march=loongson2e -mabi=32 -mplt -pipe" class arch_loongson2e_n32(generic_mips64el): "Builder class for Loongson 2E [Little-endian N32]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=loongson2e -mabi=n32 -pipe -mplt" + self.settings["CFLAGS"]="-O2 -march=loongson2e -mabi=n32 -mplt -pipe" class arch_loongson2f(generic_mipsel): "Builder class for Loongson 2F [Little-endian]" def __init__(self,myspec): generic_mipsel.__init__(self,myspec) - self.settings["CFLAGS"]="-O3 -march=loongson2f -mabi=32 -pipe -mplt -Wa,-mfix-loongson2f-nop" + self.settings["CFLAGS"]="-O3 -march=loongson2f -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -pipe" class arch_loongson2f_n32(generic_mips64el): "Builder class for Loongson 2F [Little-endian N32]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - self.settings["CFLAGS"]="-O3 -march=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop" + self.settings["CFLAGS"]="-O3 -march=loongson2f -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -pipe" class arch_mipsel4(generic_mipsel): "Builder class for MIPS IV [Little-endian]" def __init__(self,myspec): generic_mipsel.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips4 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips4 -mabi=32 -mplt -pipe" class arch_mipsel4_n32(generic_mips64el): "Builder class for MIPS IV [Little-endian N32]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips4 -mabi=n32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips4 -mabi=n32 -mplt -pipe" class arch_mipsel4_n64(generic_mips64el): "Builder class for MIPS IV [Little-endian N64]" @@ -284,19 +284,19 @@ class arch_mipsel4_multilib(generic_mips64el): "Builder class for MIPS IV [Little-endian multilib]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips4 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips4 -mplt -pipe" class arch_mips64el(generic_mipsel): "Builder class for MIPS 64 [Little-endian]" def __init__(self,myspec): generic_mipsel.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips64 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips64 -mabi=32 -mplt -pipe" class arch_mips64el_n32(generic_mips64el): "Builder class for MIPS 64 [Little-endian N32]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips64 -mabi=n32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips64 -mabi=n32 -mplt -pipe" class arch_mips64el_n64(generic_mips64el): "Builder class for MIPS 64 [Little-endian N64]" @@ -308,19 +308,19 @@ class arch_mips64el_multilib(generic_mips64el): "Builder class for MIPS 64 [Little-endian multilib]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips64 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips64 -mplt -pipe" class arch_mips64r2el(generic_mipsel): "Builder class for MIPS 64r2 [Little-endian]" def __init__(self,myspec): generic_mipsel.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips64r2 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips64r2 -mabi=32 -mplt -pipe" class arch_mips64r2el_n32(generic_mips64el): "Builder class for MIPS 64r2 [Little-endian N32]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips64r2 -mabi=n32 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips64r2 -mabi=n32 -mplt -pipe" class arch_mips64r2el_n64(generic_mips64el): "Builder class for MIPS 64r2 [Little-endian N64]" @@ -332,20 +332,20 @@ class arch_mips64r2el_multilib(generic_mips64el): "Builder class for MIPS 64r2 [Little-endian multilib]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=mips64r2 -pipe" + self.settings["CFLAGS"]="-O2 -march=mips64r2 -mplt -pipe" class arch_cobalt(generic_mipsel): "Builder class for cobalt [Little-endian]" def __init__(self,myspec): generic_mipsel.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=r5000 -mabi=32 -pipe" + self.settings["CFLAGS"]="-O2 -march=r5000 -mabi=32 -mplt -pipe" self.settings["HOSTUSE"]=["cobalt"] class arch_cobalt_n32(generic_mips64el): "Builder class for cobalt [Little-endian N32]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -march=r5000 -mabi=n32 -pipe" + self.settings["CFLAGS"]="-O2 -march=r5000 -mabi=n32 -mplt -pipe" self.settings["HOSTUSE"]=["cobalt"] def register(): |