aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-04-20 23:36:36 -0700
committerMatt Turner <mattst88@gentoo.org>2022-04-21 09:43:53 -0700
commit85c6f6a80296fb4c5866ff1a59668c935aeaf1c5 (patch)
treecacd314ab42c46012d1a907c35d64fe16017384d /arch
parentcreate-iso.sh: split iso-level arguments (diff)
downloadcatalyst-85c6f6a80296fb4c5866ff1a59668c935aeaf1c5.tar.gz
catalyst-85c6f6a80296fb4c5866ff1a59668c935aeaf1c5.tar.bz2
catalyst-85c6f6a80296fb4c5866ff1a59668c935aeaf1c5.zip
arch/mips: 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. Suggested-by: Fredrik Noring <noring@nocrew.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips.toml6
1 files 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"