From f1645772c1881a233ffcfc5072710040c4881deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 1 Sep 2024 10:40:23 +0200 Subject: [PATCH] compiler_rt: Export __truncdfhf2() for AEABI too. Similar to __truncsfhf2() and __extendhfsf2(). --- lib/compiler_rt/truncdfhf2.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/compiler_rt/truncdfhf2.zig b/lib/compiler_rt/truncdfhf2.zig index e15a2202a1..10f13d5047 100644 --- a/lib/compiler_rt/truncdfhf2.zig +++ b/lib/compiler_rt/truncdfhf2.zig @@ -6,9 +6,8 @@ pub const panic = common.panic; comptime { if (common.want_aeabi) { @export(&__aeabi_d2h, .{ .name = "__aeabi_d2h", .linkage = common.linkage, .visibility = common.visibility }); - } else { - @export(&__truncdfhf2, .{ .name = "__truncdfhf2", .linkage = common.linkage, .visibility = common.visibility }); } + @export(&__truncdfhf2, .{ .name = "__truncdfhf2", .linkage = common.linkage, .visibility = common.visibility }); } pub fn __truncdfhf2(a: f64) callconv(.C) common.F16T(f64) {