aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-10-16 06:41:00 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-11-02 10:42:53 +0100
commita5bc9cbb15f415f3c8bded3b8026c7cf326b7c12 (patch)
treecaab5da344027e147babd43890f54fce5de5a4d0 /src/codegen
parentd61e4ef8b00f8c66389c5bf614d701cafc23b1ae (diff)
downloadzig-a5bc9cbb15f415f3c8bded3b8026c7cf326b7c12.tar.gz
zig-a5bc9cbb15f415f3c8bded3b8026c7cf326b7c12.zip
llvm: Fix lowering of gnuilp32 ABI to be gnu_ilp32.
LLVM doesn't even recognize the gnuilp32 spelling as an alternative.
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/llvm.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig
index 0a1073efcf..74c1bb1f5d 100644
--- a/src/codegen/llvm.zig
+++ b/src/codegen/llvm.zig
@@ -263,7 +263,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
.gnuf32 => "gnuf32",
.gnusf => "gnusf",
.gnux32 => "gnux32",
- .gnuilp32 => "gnuilp32",
+ .gnuilp32 => "gnu_ilp32",
.code16 => "code16",
.eabi => "eabi",
.eabihf => "eabihf",