commit: a2a350478ed0301952ac97de8990d6b344842ac2
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 13:23:54 2022 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 13:23:54 2022 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=a2a35047
Compile mipsel3 stages with -mfix-r5900
... which will make them usable on the PlayStation 2. Don't bother
modifying the n64 ABI configuration, since it will never work on the
PS2.
Backport from master branch
Suggested-by: Fredrik Noring <noring <AT> nocrew.org>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
catalyst/arch/mips.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/catalyst/arch/mips.py b/catalyst/arch/mips.py
index 1ac6f85d..73359db7 100644
--- a/catalyst/arch/mips.py
+++ b/catalyst/arch/mips.py
@@ -249,13 +249,13 @@ class arch_mipsel3(generic_mipsel):
"Builder class for MIPS III [Little-endian]"
def __init__(self,myspec):
generic_mipsel.__init__(self,myspec)
- self.settings["COMMON_FLAGS"]="-O2 -march=mips3 -mabi=32 -mplt
-Wa,-mfix-loongson2f-nop -pipe"
+ self.settings["COMMON_FLAGS"]="-O2 -march=mips3 -mabi=32 -mplt
-Wa,-mfix-loongson2f-nop -mfix-r5900 -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["COMMON_FLAGS"]="-O2 -march=mips3 -mabi=n32 -mplt
-Wa,-mfix-loongson2f-nop -pipe"
+ self.settings["COMMON_FLAGS"]="-O2 -march=mips3 -mabi=n32 -mplt
-Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe"
class arch_mipsel3_n64(generic_mips64el):
"Builder class for MIPS III [Little-endian N64]"
@@ -267,7 +267,7 @@ 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["COMMON_FLAGS"]="-O2 -march=mips3 -mplt
-Wa,-mfix-loongson2f-nop -pipe"
+ self.settings["COMMON_FLAGS"]="-O2 -march=mips3 -mplt
-Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe"
class arch_loongson2e(generic_mipsel):
"Builder class for Loongson 2E [Little-endian]"