From: Matt Turner <mattst88@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
Cc: Matt Turner <mattst88@gentoo.org>,
Fredrik Noring <fredrik.noring@gmail.com>
Subject: [gentoo-catalyst] [PATCH] arch/mips: Compile mipsel3 stages with -mfix-r5900
Date: Wed, 20 Apr 2022 23:39:52 -0700 [thread overview]
Message-ID: <20220421063952.1020156-1-mattst88@gentoo.org> (raw)
... 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
reply other threads:[~2022-04-21 6:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220421063952.1020156-1-mattst88@gentoo.org \
--to=mattst88@gentoo.org \
--cc=fredrik.noring@gmail.com \
--cc=gentoo-catalyst@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox