authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-10-16 06:41:00+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-02 10:42:53+01:00
loga5bc9cbb15f415f3c8bded3b8026c7cf326b7c12
treecaab5da344027e147babd43890f54fce5de5a4d0
parentd61e4ef8b00f8c66389c5bf614d701cafc23b1ae
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

llvm: Fix lowering of gnuilp32 ABI to be gnu_ilp32.

LLVM doesn't even recognize the gnuilp32 spelling as an alternative.

2 files changed, 2 insertions(+), 2 deletions(-)

lib/compiler/aro/aro/target.zig+1-1
......@@ -693,7 +693,7 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
693693 .gnuf32 => "gnuf32",
694694 .gnusf => "gnusf",
695695 .gnux32 => "gnux32",
696 .gnuilp32 => "gnuilp32",
696 .gnuilp32 => "gnu_ilp32",
697697 .code16 => "code16",
698698 .eabi => "eabi",
699699 .eabihf => "eabihf",
src/codegen/llvm.zig+1-1
......@@ -263,7 +263,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
263263 .gnuf32 => "gnuf32",
264264 .gnusf => "gnusf",
265265 .gnux32 => "gnux32",
266 .gnuilp32 => "gnuilp32",
266 .gnuilp32 => "gnu_ilp32",
267267 .code16 => "code16",
268268 .eabi => "eabi",
269269 .eabihf => "eabihf",