aboutsummaryrefslogtreecommitdiff
path: root/src/comp/back/x86.rs
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-05-05 12:45:34 -0700
committerPatrick Walton <[email protected]>2011-05-05 12:46:22 -0700
commita74feaf1594673bcec77ed45bd4b6766289a25b3 (patch)
tree0e9ae545b866d22b99d6d22424fed528a76b6796 /src/comp/back/x86.rs
parentPut out burning tinderbox. (diff)
downloadrust-a74feaf1594673bcec77ed45bd4b6766289a25b3.tar.xz
rust-a74feaf1594673bcec77ed45bd4b6766289a25b3.zip
rustc: Link with intrinsics.bc; change intrinsics linkage to linkonce_odr
Diffstat (limited to 'src/comp/back/x86.rs')
-rw-r--r--src/comp/back/x86.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/comp/back/x86.rs b/src/comp/back/x86.rs
index 063afe03..a40592d5 100644
--- a/src/comp/back/x86.rs
+++ b/src/comp/back/x86.rs
@@ -336,7 +336,9 @@ fn get_meta_sect_name() -> str {
fn get_data_layout() -> str {
if (_str.eq(target_os(), "macos")) {
- ret "e-p:32:32-f64:32:64-i64:32:64-f80:128:128-n8:16:32";
+ ret "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64" +
+ "-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" +
+ "-n8:16:32";
}
if (_str.eq(target_os(), "win32")) {
ret "e-p:32:32-f64:64:64-i64:64:64-f80:32:32-n8:16:32";