Skip to content

Commit e523e36

Browse files
committed
compiler_rt: Export __truncdfhf2() for AEABI too.
Similar to __truncsfhf2() and __extendhfsf2().
1 parent f1851ca commit e523e36

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/compiler_rt/truncdfhf2.zig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ pub const panic = common.panic;
66
comptime {
77
if (common.want_aeabi) {
88
@export(&__aeabi_d2h, .{ .name = "__aeabi_d2h", .linkage = common.linkage, .visibility = common.visibility });
9-
} else {
10-
@export(&__truncdfhf2, .{ .name = "__truncdfhf2", .linkage = common.linkage, .visibility = common.visibility });
119
}
10+
@export(&__truncdfhf2, .{ .name = "__truncdfhf2", .linkage = common.linkage, .visibility = common.visibility });
1211
}
1312

1413
pub fn __truncdfhf2(a: f64) callconv(.C) common.F16T(f64) {

0 commit comments

Comments
 (0)