Skip to content

Commit 8b19922

Browse files
committed
Update data layouts to include new X86 address spaces
1 parent c6a7751 commit 8b19922

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+105
-44
lines changed

src/librustc_target/spec/i386_apple_ios.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ pub fn target() -> TargetResult {
88
target_endian: "little".to_string(),
99
target_pointer_width: "32".to_string(),
1010
target_c_int_width: "32".to_string(),
11-
data_layout: "e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128".to_string(),
11+
data_layout: "e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
12+
f64:32:64-f80:128-n8:16:32-S128"
13+
.to_string(),
1214
arch: "x86".to_string(),
1315
target_os: "ios".to_string(),
1416
target_env: String::new(),

src/librustc_target/spec/i686_apple_darwin.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ pub fn target() -> TargetResult {
2020
target_endian: "little".to_string(),
2121
target_pointer_width: "32".to_string(),
2222
target_c_int_width: "32".to_string(),
23-
data_layout: "e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128".to_string(),
23+
data_layout: "e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
24+
f64:32:64-f80:128-n8:16:32-S128"
25+
.to_string(),
2426
arch: "x86".to_string(),
2527
target_os: "macos".to_string(),
2628
target_env: String::new(),

src/librustc_target/spec/i686_linux_android.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ pub fn target() -> TargetResult {
1818
target_endian: "little".to_string(),
1919
target_pointer_width: "32".to_string(),
2020
target_c_int_width: "32".to_string(),
21-
data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(),
21+
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
22+
f64:32:64-f80:32-n8:16:32-S128"
23+
.to_string(),
2224
arch: "x86".to_string(),
2325
target_os: "android".to_string(),
2426
target_env: String::new(),

src/librustc_target/spec/i686_pc_windows_gnu.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ pub fn target() -> TargetResult {
1818
target_endian: "little".to_string(),
1919
target_pointer_width: "32".to_string(),
2020
target_c_int_width: "32".to_string(),
21-
data_layout: "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32".to_string(),
21+
data_layout: "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
22+
i64:64-f80:32-n8:16:32-a:0:32-S32"
23+
.to_string(),
2224
arch: "x86".to_string(),
2325
target_os: "windows".to_string(),
2426
target_env: "gnu".to_string(),

src/librustc_target/spec/i686_pc_windows_msvc.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ pub fn target() -> TargetResult {
1919
target_endian: "little".to_string(),
2020
target_pointer_width: "32".to_string(),
2121
target_c_int_width: "32".to_string(),
22-
data_layout: "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32".to_string(),
22+
data_layout: "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
23+
i64:64-f80:32-n8:16:32-a:0:32-S32"
24+
.to_string(),
2325
arch: "x86".to_string(),
2426
target_os: "windows".to_string(),
2527
target_env: "msvc".to_string(),

src/librustc_target/spec/i686_unknown_cloudabi.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ pub fn target() -> TargetResult {
1313
target_endian: "little".to_string(),
1414
target_pointer_width: "32".to_string(),
1515
target_c_int_width: "32".to_string(),
16-
data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(),
16+
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
17+
f64:32:64-f80:32-n8:16:32-S128"
18+
.to_string(),
1719
arch: "x86".to_string(),
1820
target_os: "cloudabi".to_string(),
1921
target_env: String::new(),

src/librustc_target/spec/i686_unknown_freebsd.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ pub fn target() -> TargetResult {
1212
target_endian: "little".to_string(),
1313
target_pointer_width: "32".to_string(),
1414
target_c_int_width: "32".to_string(),
15-
data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(),
15+
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
16+
f64:32:64-f80:32-n8:16:32-S128"
17+
.to_string(),
1618
arch: "x86".to_string(),
1719
target_os: "freebsd".to_string(),
1820
target_env: String::new(),

src/librustc_target/spec/i686_unknown_haiku.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ pub fn target() -> TargetResult {
1212
target_endian: "little".to_string(),
1313
target_pointer_width: "32".to_string(),
1414
target_c_int_width: "32".to_string(),
15-
data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(),
15+
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
16+
f64:32:64-f80:32-n8:16:32-S128"
17+
.to_string(),
1618
arch: "x86".to_string(),
1719
target_os: "haiku".to_string(),
1820
target_env: String::new(),

src/librustc_target/spec/i686_unknown_linux_gnu.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ pub fn target() -> TargetResult {
1212
target_endian: "little".to_string(),
1313
target_pointer_width: "32".to_string(),
1414
target_c_int_width: "32".to_string(),
15-
data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(),
15+
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
16+
f64:32:64-f80:32-n8:16:32-S128"
17+
.to_string(),
1618
arch: "x86".to_string(),
1719
target_os: "linux".to_string(),
1820
target_env: "gnu".to_string(),

src/librustc_target/spec/i686_unknown_linux_musl.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ pub fn target() -> TargetResult {
2727
target_endian: "little".to_string(),
2828
target_pointer_width: "32".to_string(),
2929
target_c_int_width: "32".to_string(),
30-
data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(),
30+
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
31+
f64:32:64-f80:32-n8:16:32-S128"
32+
.to_string(),
3133
arch: "x86".to_string(),
3234
target_os: "linux".to_string(),
3335
target_env: "musl".to_string(),

src/librustc_target/spec/i686_unknown_netbsd.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ pub fn target() -> TargetResult {
1212
target_endian: "little".to_string(),
1313
target_pointer_width: "32".to_string(),
1414
target_c_int_width: "32".to_string(),
15-
data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(),
15+
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
16+
f64:32:64-f80:32-n8:16:32-S128"
17+
.to_string(),
1618
arch: "x86".to_string(),
1719
target_os: "netbsd".to_string(),
1820
target_env: String::new(),

src/librustc_target/spec/i686_unknown_openbsd.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ pub fn target() -> TargetResult {
1313
target_endian: "little".to_string(),
1414
target_pointer_width: "32".to_string(),
1515
target_c_int_width: "32".to_string(),
16-
data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(),
16+
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
17+
f64:32:64-f80:32-n8:16:32-S128"
18+
.to_string(),
1719
arch: "x86".to_string(),
1820
target_os: "openbsd".to_string(),
1921
target_env: String::new(),

src/librustc_target/spec/i686_unknown_uefi.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ pub fn target() -> TargetResult {
8686
target_endian: "little".to_string(),
8787
target_pointer_width: "32".to_string(),
8888
target_c_int_width: "32".to_string(),
89-
data_layout: "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32".to_string(),
89+
data_layout: "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
90+
i64:64-f80:32-n8:16:32-a:0:32-S32"
91+
.to_string(),
9092
target_os: "uefi".to_string(),
9193
target_env: "".to_string(),
9294
target_vendor: "unknown".to_string(),

src/librustc_target/spec/i686_uwp_windows_gnu.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ pub fn target() -> TargetResult {
1818
target_endian: "little".to_string(),
1919
target_pointer_width: "32".to_string(),
2020
target_c_int_width: "32".to_string(),
21-
data_layout: "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32".to_string(),
21+
data_layout: "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
22+
i64:64-f80:32-n8:16:32-a:0:32-S32"
23+
.to_string(),
2224
arch: "x86".to_string(),
2325
target_os: "windows".to_string(),
2426
target_env: "gnu".to_string(),

src/librustc_target/spec/i686_uwp_windows_msvc.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ pub fn target() -> TargetResult {
1111
target_endian: "little".to_string(),
1212
target_pointer_width: "32".to_string(),
1313
target_c_int_width: "32".to_string(),
14-
data_layout: "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32".to_string(),
14+
data_layout: "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
15+
i64:64-f80:32-n8:16:32-a:0:32-S32"
16+
.to_string(),
1517
arch: "x86".to_string(),
1618
target_os: "windows".to_string(),
1719
target_env: "msvc".to_string(),

src/librustc_target/spec/i686_wrs_vxworks.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ pub fn target() -> TargetResult {
1212
target_endian: "little".to_string(),
1313
target_pointer_width: "32".to_string(),
1414
target_c_int_width: "32".to_string(),
15-
data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(),
15+
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
16+
f64:32:64-f80:32-n8:16:32-S128"
17+
.to_string(),
1618
arch: "x86".to_string(),
1719
target_os: "vxworks".to_string(),
1820
target_env: "gnu".to_string(),

src/librustc_target/spec/x86_64_apple_darwin.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ pub fn target() -> TargetResult {
2020
target_endian: "little".to_string(),
2121
target_pointer_width: "64".to_string(),
2222
target_c_int_width: "32".to_string(),
23-
data_layout: "e-m:o-i64:64-f80:128-n8:16:32:64-S128".to_string(),
23+
data_layout: "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
24+
.to_string(),
2425
arch: arch.to_string(),
2526
target_os: "macos".to_string(),
2627
target_env: String::new(),

src/librustc_target/spec/x86_64_apple_ios.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ pub fn target() -> TargetResult {
88
target_endian: "little".to_string(),
99
target_pointer_width: "64".to_string(),
1010
target_c_int_width: "32".to_string(),
11-
data_layout: "e-m:o-i64:64-f80:128-n8:16:32:64-S128".to_string(),
11+
data_layout: "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
12+
.to_string(),
1213
arch: "x86_64".to_string(),
1314
target_os: "ios".to_string(),
1415
target_env: String::new(),

src/librustc_target/spec/x86_64_apple_ios_macabi.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ pub fn target() -> TargetResult {
88
target_endian: "little".to_string(),
99
target_pointer_width: "64".to_string(),
1010
target_c_int_width: "32".to_string(),
11-
data_layout: "e-m:o-i64:64-f80:128-n8:16:32:64-S128".to_string(),
11+
data_layout: "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
12+
.to_string(),
1213
arch: "x86_64".to_string(),
1314
target_os: "ios".to_string(),
1415
target_env: String::new(),

src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ pub fn target() -> Result<Target, String> {
8181
target_os: "unknown".into(),
8282
target_env: "sgx".into(),
8383
target_vendor: "fortanix".into(),
84-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".into(),
84+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
85+
.into(),
8586
arch: "x86_64".into(),
8687
linker_flavor: LinkerFlavor::Lld(LldFlavor::Ld),
8788
options: opts,

src/librustc_target/spec/x86_64_fuchsia.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ pub fn target() -> TargetResult {
1111
target_endian: "little".to_string(),
1212
target_pointer_width: "64".to_string(),
1313
target_c_int_width: "32".to_string(),
14-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
14+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
15+
.to_string(),
1516
arch: "x86_64".to_string(),
1617
target_os: "fuchsia".to_string(),
1718
target_env: String::new(),

src/librustc_target/spec/x86_64_linux_android.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ pub fn target() -> TargetResult {
1414
target_endian: "little".to_string(),
1515
target_pointer_width: "64".to_string(),
1616
target_c_int_width: "32".to_string(),
17-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
17+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
18+
.to_string(),
1819
arch: "x86_64".to_string(),
1920
target_os: "android".to_string(),
2021
target_env: String::new(),

src/librustc_target/spec/x86_64_linux_kernel.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ pub fn target() -> TargetResult {
1919
target_endian: "little".to_string(),
2020
target_pointer_width: "64".to_string(),
2121
target_c_int_width: "32".to_string(),
22-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
22+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
23+
.to_string(),
2324
target_os: "none".to_string(),
2425
target_env: "gnu".to_string(),
2526
target_vendor: "unknown".to_string(),

src/librustc_target/spec/x86_64_pc_windows_gnu.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ pub fn target() -> TargetResult {
1111
target_endian: "little".to_string(),
1212
target_pointer_width: "64".to_string(),
1313
target_c_int_width: "32".to_string(),
14-
data_layout: "e-m:w-i64:64-f80:128-n8:16:32:64-S128".to_string(),
14+
data_layout: "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
15+
.to_string(),
1516
arch: "x86_64".to_string(),
1617
target_os: "windows".to_string(),
1718
target_env: "gnu".to_string(),

src/librustc_target/spec/x86_64_pc_windows_msvc.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ pub fn target() -> TargetResult {
1111
target_endian: "little".to_string(),
1212
target_pointer_width: "64".to_string(),
1313
target_c_int_width: "32".to_string(),
14-
data_layout: "e-m:w-i64:64-f80:128-n8:16:32:64-S128".to_string(),
14+
data_layout: "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
15+
.to_string(),
1516
arch: "x86_64".to_string(),
1617
target_os: "windows".to_string(),
1718
target_env: "msvc".to_string(),

src/librustc_target/spec/x86_64_rumprun_netbsd.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ pub fn target() -> TargetResult {
1818
target_endian: "little".to_string(),
1919
target_pointer_width: "64".to_string(),
2020
target_c_int_width: "32".to_string(),
21-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
21+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
22+
.to_string(),
2223
arch: "x86_64".to_string(),
2324
target_os: "netbsd".to_string(),
2425
target_env: String::new(),

src/librustc_target/spec/x86_64_sun_solaris.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ pub fn target() -> TargetResult {
1212
target_endian: "little".to_string(),
1313
target_pointer_width: "64".to_string(),
1414
target_c_int_width: "32".to_string(),
15-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
15+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
16+
.to_string(),
1617
arch: "x86_64".to_string(),
1718
target_os: "solaris".to_string(),
1819
target_env: String::new(),

src/librustc_target/spec/x86_64_unknown_cloudabi.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ pub fn target() -> TargetResult {
1313
target_endian: "little".to_string(),
1414
target_pointer_width: "64".to_string(),
1515
target_c_int_width: "32".to_string(),
16-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
16+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
17+
.to_string(),
1718
arch: "x86_64".to_string(),
1819
target_os: "cloudabi".to_string(),
1920
target_env: String::new(),

src/librustc_target/spec/x86_64_unknown_dragonfly.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ pub fn target() -> TargetResult {
1212
target_endian: "little".to_string(),
1313
target_pointer_width: "64".to_string(),
1414
target_c_int_width: "32".to_string(),
15-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
15+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
16+
.to_string(),
1617
arch: "x86_64".to_string(),
1718
target_os: "dragonfly".to_string(),
1819
target_env: String::new(),

src/librustc_target/spec/x86_64_unknown_freebsd.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ pub fn target() -> TargetResult {
1212
target_endian: "little".to_string(),
1313
target_pointer_width: "64".to_string(),
1414
target_c_int_width: "32".to_string(),
15-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
15+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
16+
.to_string(),
1617
arch: "x86_64".to_string(),
1718
target_os: "freebsd".to_string(),
1819
target_env: String::new(),

src/librustc_target/spec/x86_64_unknown_haiku.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ pub fn target() -> TargetResult {
1414
target_endian: "little".to_string(),
1515
target_pointer_width: "64".to_string(),
1616
target_c_int_width: "32".to_string(),
17-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
17+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
18+
.to_string(),
1819
arch: "x86_64".to_string(),
1920
target_os: "haiku".to_string(),
2021
target_env: String::new(),

src/librustc_target/spec/x86_64_unknown_hermit.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ pub fn target() -> TargetResult {
1212
target_endian: "little".to_string(),
1313
target_pointer_width: "64".to_string(),
1414
target_c_int_width: "32".to_string(),
15-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
15+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
16+
.to_string(),
1617
arch: "x86_64".to_string(),
1718
target_os: "hermit".to_string(),
1819
target_env: String::new(),

src/librustc_target/spec/x86_64_unknown_hermit_kernel.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ pub fn target() -> TargetResult {
1414
target_endian: "little".to_string(),
1515
target_pointer_width: "64".to_string(),
1616
target_c_int_width: "32".to_string(),
17-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
17+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
18+
.to_string(),
1819
arch: "x86_64".to_string(),
1920
target_os: "hermit".to_string(),
2021
target_env: String::new(),

src/librustc_target/spec/x86_64_unknown_l4re_uclibc.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ pub fn target() -> TargetResult {
1010
target_endian: "little".to_string(),
1111
target_pointer_width: "64".to_string(),
1212
target_c_int_width: "32".to_string(),
13-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
13+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
14+
.to_string(),
1415
arch: "x86_64".to_string(),
1516
target_os: "l4re".to_string(),
1617
target_env: "uclibc".to_string(),

src/librustc_target/spec/x86_64_unknown_linux_gnu.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ pub fn target() -> TargetResult {
1212
target_endian: "little".to_string(),
1313
target_pointer_width: "64".to_string(),
1414
target_c_int_width: "32".to_string(),
15-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
15+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
16+
.to_string(),
1617
arch: "x86_64".to_string(),
1718
target_os: "linux".to_string(),
1819
target_env: "gnu".to_string(),

src/librustc_target/spec/x86_64_unknown_linux_gnux32.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ pub fn target() -> TargetResult {
1616
target_endian: "little".to_string(),
1717
target_pointer_width: "32".to_string(),
1818
target_c_int_width: "32".to_string(),
19-
data_layout: "e-m:e-p:32:32-i64:64-f80:128-n8:16:32:64-S128".to_string(),
19+
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
20+
i64:64-f80:128-n8:16:32:64-S128"
21+
.to_string(),
2022
arch: "x86_64".to_string(),
2123
target_os: "linux".to_string(),
2224
target_env: "gnu".to_string(),

src/librustc_target/spec/x86_64_unknown_linux_musl.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ pub fn target() -> TargetResult {
1212
target_endian: "little".to_string(),
1313
target_pointer_width: "64".to_string(),
1414
target_c_int_width: "32".to_string(),
15-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
15+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
16+
.to_string(),
1617
arch: "x86_64".to_string(),
1718
target_os: "linux".to_string(),
1819
target_env: "musl".to_string(),

src/librustc_target/spec/x86_64_unknown_netbsd.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ pub fn target() -> TargetResult {
1212
target_endian: "little".to_string(),
1313
target_pointer_width: "64".to_string(),
1414
target_c_int_width: "32".to_string(),
15-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
15+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
16+
.to_string(),
1617
arch: "x86_64".to_string(),
1718
target_os: "netbsd".to_string(),
1819
target_env: String::new(),

0 commit comments

Comments
 (0)