From 52ef977c958db97986bffbae57145edbca8a04b3 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 26 Jul 2022 22:45:07 +0100 Subject: rust-target-config: Add mips n32 target information Add MIPS n32 target information. This appears to be correct but building libstd-rs for the target doesn't work. (From OE-Core rev: 255be90dc8e3625060c9b8ccc2ec3a71f24470d2) Signed-off-by: Richard Purdie --- meta/classes/rust-target-config.bbclass | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta/classes') diff --git a/meta/classes/rust-target-config.bbclass b/meta/classes/rust-target-config.bbclass index 87b7dee3ed..1721839922 100644 --- a/meta/classes/rust-target-config.bbclass +++ b/meta/classes/rust-target-config.bbclass @@ -190,6 +190,13 @@ TARGET_POINTER_WIDTH[mips64] = "64" TARGET_C_INT_WIDTH[mips64] = "64" MAX_ATOMIC_WIDTH[mips64] = "64" +## mips64-n32-unknown-linux-{gnu, musl} +DATA_LAYOUT[mips64-n32] = "E-m:e-p:32:32-i8:8:32-i16:16:32-i64:64-n32:64-S128" +TARGET_ENDIAN[mips64-n32] = "big" +TARGET_POINTER_WIDTH[mips64-n32] = "32" +TARGET_C_INT_WIDTH[mips64-n32] = "32" +MAX_ATOMIC_WIDTH[mips64-n32] = "64" + ## mips64el-unknown-linux-{gnu, musl} DATA_LAYOUT[mips64el] = "e-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128" TARGET_ENDIAN[mips64el] = "little" -- cgit v1.2.3-54-g00ecf