about summary refs log tree commit diff
path: root/src/liballoc_system/lib.rs
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2015-12-28 21:09:06 +0000
committerAnton Blanchard <anton@samba.org>2016-01-13 01:39:00 +0000
commitb372910476c40584a22cd253c69106775d0c93fa (patch)
tree7aca9d37fee606b735fb60588cd08c9f7297f8f3 /src/liballoc_system/lib.rs
parent49c38277905f515537ce4d9610df87680ae76524 (diff)
Add powerpc64 and powerpc64le support
This adds support for big endian and little endian PowerPC64.
make check runs clean apart from one big endian backtrace issue.
Diffstat (limited to 'src/liballoc_system/lib.rs')
-rw-r--r--src/liballoc_system/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/liballoc_system/lib.rs b/src/liballoc_system/lib.rs
index a4e98e413bb..ffb6999d6e3 100644
--- a/src/liballoc_system/lib.rs
+++ b/src/liballoc_system/lib.rs
@@ -29,7 +29,9 @@ extern crate libc;
               target_arch = "arm",
               target_arch = "mips",
               target_arch = "mipsel",
-              target_arch = "powerpc")))]
+              target_arch = "powerpc",
+              target_arch = "powerpc64",
+              target_arch = "powerpc64le")))]
 const MIN_ALIGN: usize = 8;
 #[cfg(all(any(target_arch = "x86_64",
               target_arch = "aarch64")))]