diff options
author | David Joyner <dbjoyner@amazon.com> | 2021-10-25 13:24:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-27 09:46:41 +0100 |
commit | ec2eaed9016bd62b521ab12169843c2d1339bdfa (patch) | |
tree | e11a38f19395bddd0ac83ef648938f57ca54514d /meta | |
parent | 4311fe03247c605bdb83706749203d553944a35e (diff) | |
download | poky-ec2eaed9016bd62b521ab12169843c2d1339bdfa.tar.gz |
rust: add support for big endian 64-bit PowerPC
(From OE-Core rev: 91cc84afbfa6aad154f9a6402b538ea1b7c0ecd4)
Signed-off-by: David Joyner <dbjoyner@amazon.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/rust/rust-common.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/rust-common.inc b/meta/recipes-devtools/rust/rust-common.inc index 7f92602e16..ceeee97863 100644 --- a/meta/recipes-devtools/rust/rust-common.inc +++ b/meta/recipes-devtools/rust/rust-common.inc | |||
@@ -216,6 +216,14 @@ TARGET_POINTER_WIDTH[powerpc] = "32" | |||
216 | TARGET_C_INT_WIDTH[powerpc] = "32" | 216 | TARGET_C_INT_WIDTH[powerpc] = "32" |
217 | MAX_ATOMIC_WIDTH[powerpc] = "32" | 217 | MAX_ATOMIC_WIDTH[powerpc] = "32" |
218 | 218 | ||
219 | ## powerpc64-unknown-linux-{gnu, musl} | ||
220 | DATA_LAYOUT[powerpc64] = "E-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512" | ||
221 | LLVM_TARGET[powerpc64] = "${RUST_TARGET_SYS}" | ||
222 | TARGET_ENDIAN[powerpc64] = "big" | ||
223 | TARGET_POINTER_WIDTH[powerpc64] = "64" | ||
224 | TARGET_C_INT_WIDTH[powerpc64] = "64" | ||
225 | MAX_ATOMIC_WIDTH[powerpc64] = "64" | ||
226 | |||
219 | ## powerpc64le-unknown-linux-{gnu, musl} | 227 | ## powerpc64le-unknown-linux-{gnu, musl} |
220 | DATA_LAYOUT[powerpc64le] = "e-m:e-i64:64-n32:64-v256:256:256-v512:512:512" | 228 | DATA_LAYOUT[powerpc64le] = "e-m:e-i64:64-n32:64-v256:256:256-v512:512:512" |
221 | LLVM_TARGET[powerpc64le] = "${RUST_TARGET_SYS}" | 229 | LLVM_TARGET[powerpc64le] = "${RUST_TARGET_SYS}" |