authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-19 20:42:56+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-04-22 15:31:57+02:00
log9627d35990b44b35cf3a6c8222919753586a2023
treebafe8d4d101fcb1a9c7d1302af3c6530effbbaa6
parent2e64f348f1149217ecdcfd8b51e718fffc10781b
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

compiler-rt: additionally export __trunctfhf2 as __trunckfhf2 on powerpc

This is the name LLVM 22 expects.

1 files changed, 3 insertions(+), 0 deletions(-)

lib/compiler_rt/trunctfhf2.zig+3
...@@ -4,6 +4,9 @@ const truncf = @import("./truncf.zig").truncf;...@@ -4,6 +4,9 @@ const truncf = @import("./truncf.zig").truncf;
44
5comptime {5comptime {
6 symbol(&__trunctfhf2, "__trunctfhf2");6 symbol(&__trunctfhf2, "__trunctfhf2");
7 if (compiler_rt.want_ppc_abi) {
8 symbol(&__trunctfhf2, "__trunckfhf2");
9 }
7}10}
811
9pub fn __trunctfhf2(a: f128) callconv(.c) compiler_rt.F16T(f128) {12pub fn __trunctfhf2(a: f128) callconv(.c) compiler_rt.F16T(f128) {