* [gentoo-catalyst] [PATCH] arch/mips: Compile mipsel3 stages with -mfix-r5900
@ 2022-04-21 6:39 Matt Turner
0 siblings, 0 replies; only message in thread
From: Matt Turner @ 2022-04-21 6:39 UTC (permalink / raw
To: gentoo-catalyst; +Cc: Matt Turner, Fredrik Noring
... 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.
Suggested-by: Fredrik Noring <fredrik.noring@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
---
arch/mips.toml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/mips.toml b/arch/mips.toml
index a10ee799..22c9a22a 100644
--- a/arch/mips.toml
+++ b/arch/mips.toml
@@ -72,7 +72,7 @@ COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -pipe"
[mips.mipsel3]
CHOST = "mipsel-unknown-linux-gnu"
-COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -pipe"
+COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe"
[mips.mipsel4_r5k]
CHOST = "mipsel-unknown-linux-gnu"
@@ -172,7 +172,7 @@ COMMON_FLAGS = "-O2 -march=mips64r2 -mplt -pipe"
[mips64.mipsel3_n32]
CHOST = "mips64el-unknown-linux-gnu"
-COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -pipe"
+COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe"
[mips64.mipsel3_n64]
CHOST = "mips64el-unknown-linux-gnu"
@@ -180,7 +180,7 @@ COMMON_FLAGS = "-O2 -march=mips3 -mabi=64 -Wa,-mfix-loongson2f-nop -pipe"
[mips64.mipsel3_multilib]
CHOST = "mips64el-unknown-linux-gnu"
-COMMON_FLAGS = "-O2 -march=mips3 -mplt -Wa,-mfix-loongson2f-nop -pipe"
+COMMON_FLAGS = "-O2 -march=mips3 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe"
[mips64.mipsel4_r5k_n32]
CHOST = "mips64el-unknown-linux-gnu"
--
2.35.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-21 6:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-21 6:39 [gentoo-catalyst] [PATCH] arch/mips: Compile mipsel3 stages with -mfix-r5900 Matt Turner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox