aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2023-03-05 22:31:58 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-03-05 22:31:58 +0100
commitc9d0f96dc7dbe5cfb32e8379022fd44016445bd5 (patch)
tree6e7f8a8c584cf05ad93d43672a53881c183bb480
parentFixed typo (diff)
downloadcatalyst-c9d0f96dc7dbe5cfb32e8379022fd44016445bd5.tar.gz
catalyst-c9d0f96dc7dbe5cfb32e8379022fd44016445bd5.tar.bz2
catalyst-c9d0f96dc7dbe5cfb32e8379022fd44016445bd5.zip
Add mips musl subarch definitions
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--arch/mips.toml24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/mips.toml b/arch/mips.toml
index 22c9a22a..95fd6b40 100644
--- a/arch/mips.toml
+++ b/arch/mips.toml
@@ -6,6 +6,10 @@ COMMON_FLAGS = "-O2 -march=mips1 -mabi=32 -mplt -pipe"
CHOST = "mips-unknown-linux-gnu"
COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe"
+[mips.mips2_musl]
+CHOST = "mips-gentoo-linux-musl"
+COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe"
+
[mips.mips32]
CHOST = "mips-unknown-linux-gnu"
COMMON_FLAGS = "-O2 -march=mips32 -mabi=32 -mplt -pipe"
@@ -26,6 +30,10 @@ COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -pipe"
CHOST = "mips-unknown-linux-gnu"
COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -mfix-r4000 -mfix-r4400 -pipe"
+[mips.mips3_musl]
+CHOST = "mips-gentoo-linux-musl"
+COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -mfix-r4000 -mfix-r4400 -pipe"
+
[mips.mips4_r5k]
CHOST = "mips-unknown-linux-gnu"
COMMON_FLAGS = "-O2 -march=r5k -mabi=32 -mplt -pipe"
@@ -54,6 +62,10 @@ COMMON_FLAGS = "-O2 -march=mips1 -mabi=32 -mplt -pipe"
CHOST = "mipsel-unknown-linux-gnu"
COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe"
+[mips.mipsel2_musl]
+CHOST = "mipsel-gentoo-linux-musl"
+COMMON_FLAGS = "-O2 -march=mips2 -mabi=32 -mplt -pipe"
+
[mips.mips32el]
CHOST = "mipsel-unknown-linux-gnu"
COMMON_FLAGS = "-O2 -march=mips32 -mabi=32 -mplt -pipe"
@@ -74,6 +86,10 @@ COMMON_FLAGS = "-O2 -march=mips32r2 -mabi=32 -mplt -pipe"
CHOST = "mipsel-unknown-linux-gnu"
COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe"
+[mips.mipsel3_musl]
+CHOST = "mipsel-gentoo-linux-musl"
+COMMON_FLAGS = "-O2 -march=mips3 -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -mfix-r5900 -pipe"
+
[mips.mipsel4_r5k]
CHOST = "mipsel-unknown-linux-gnu"
COMMON_FLAGS = "-O2 -march=r5k -mabi=32 -mplt -pipe"
@@ -106,6 +122,10 @@ COMMON_FLAGS = "-O2 -march=mips3 -mabi=n32 -mplt -mfix-r4000 -mfix-r4400 -pipe"
CHOST = "mips64-unknown-linux-gnu"
COMMON_FLAGS = "-O2 -march=mips3 -mabi=64 -mfix-r4000 -mfix-r4400 -pipe"
+[mips64.mips3_n64_musl]
+CHOST = "mips64-gentoo-linux-musl"
+COMMON_FLAGS = "-O2 -march=mips3 -mabi=64 -mfix-r4000 -mfix-r4400 -pipe"
+
[mips64.mips3_multilib]
CHOST = "mips64-unknown-linux-gnu"
COMMON_FLAGS = "-O2 -march=mips3 -mplt -mfix-r4000 -mfix-r4400 -pipe"
@@ -202,6 +222,10 @@ COMMON_FLAGS = "-O2 -march=mips64 -mabi=n32 -mplt -pipe"
CHOST = "mips64el-unknown-linux-gnu"
COMMON_FLAGS = "-O2 -march=mips64 -mabi=64 -pipe"
+[mips64.mips64el_n64_musl]
+CHOST = "mips64el-gentoo-linux-musl"
+COMMON_FLAGS = "-O2 -march=mips64 -mabi=64 -pipe"
+
[mips64.mips64el_multilib]
CHOST = "mips64el-unknown-linux-gnu"
COMMON_FLAGS = "-O2 -march=mips64 -mplt -pipe"