diff options
| author | Patrick Walton <[email protected]> | 2011-05-05 12:45:34 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-05-05 12:46:22 -0700 |
| commit | a74feaf1594673bcec77ed45bd4b6766289a25b3 (patch) | |
| tree | 0e9ae545b866d22b99d6d22424fed528a76b6796 /src/comp/back/x86.rs | |
| parent | Put out burning tinderbox. (diff) | |
| download | rust-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.rs | 4 |
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"; |