mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
llvm: Fix lowering of gnuilp32 ABI to be gnu_ilp32.
LLVM doesn't even recognize the gnuilp32 spelling as an alternative.
This commit is contained in:
parent
d61e4ef8b0
commit
a5bc9cbb15
2
lib/compiler/aro/aro/target.zig
vendored
2
lib/compiler/aro/aro/target.zig
vendored
@ -693,7 +693,7 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
|
||||
.gnuf32 => "gnuf32",
|
||||
.gnusf => "gnusf",
|
||||
.gnux32 => "gnux32",
|
||||
.gnuilp32 => "gnuilp32",
|
||||
.gnuilp32 => "gnu_ilp32",
|
||||
.code16 => "code16",
|
||||
.eabi => "eabi",
|
||||
.eabihf => "eabihf",
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user