aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler/aro
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-10-05 15:13:37 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-10-05 15:13:37 +0200
commit84e192c88b2a970b249c7a7480e14717535b6096 (patch)
treedb460c21cc6016e7d3ae78feff9e86874b69631c /lib/compiler/aro
parent043b1adb8dff184deaf9e145e6045b36b9bf733b (diff)
downloadzig-84e192c88b2a970b249c7a7480e14717535b6096.tar.gz
zig-84e192c88b2a970b249c7a7480e14717535b6096.zip
std.Target: Introduce Abi.ohoseabi to distinguish the soft float case.
For the same reason as #21504.
Diffstat (limited to 'lib/compiler/aro')
-rw-r--r--lib/compiler/aro/aro/target.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compiler/aro/aro/target.zig b/lib/compiler/aro/aro/target.zig
index 1799dac5da..c07935a420 100644
--- a/lib/compiler/aro/aro/target.zig
+++ b/lib/compiler/aro/aro/target.zig
@@ -699,7 +699,8 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
.cygnus => "cygnus",
.simulator => "simulator",
.macabi => "macabi",
- .ohos => "openhos",
+ .ohos => "ohos",
+ .ohoseabi => "ohoseabi",
};
writer.writeAll(llvm_abi) catch unreachable;
return stream.getWritten();