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-25 21:54:47+02:00
log9e1e54d32449dadeb21bc2ce0fe9d246c466ebf0
treeb7973cc918e3713681f71f1aafec87d65a059ac1
parent421d9979389004aeaf6b1a939ad718831ff3694f
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) {