Merge pull request #23698 from alexrp/goff-xcoff-stubs

`link`: Stub out GOFF/XCOFF linker code based on LLVM
This commit is contained in:
Alex Rønne Petersen
2025-04-28 07:50:37 +02:00
committed by GitHub
7 changed files with 267 additions and 9 deletions

View File

@@ -398,7 +398,7 @@ pub fn dataLayout(target: std.Target) []const u8 {
.sparc => "E-m:e-p:32:32-i64:64-i128:128-f128:64-n32-S64",
.sparc64 => "E-m:e-i64:64-i128:128-n32:64-S128",
.s390x => if (target.os.tag == .zos)
"E-m:l-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
"E-m:l-p1:32:32-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
else
"E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64",
.x86 => if (target.os.tag == .windows) switch (target.abi) {