zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 9e1e54d32449dadeb21bc2ce0fe9d246c466ebf0 (tree)
parent 421d9979389004aeaf6b1a939ad718831ff3694f
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Mon, 19 Jan 2026 20:42:56 +0100

compiler-rt: additionally export __trunctfhf2 as __trunckfhf2 on powerpc

This is the name LLVM 22 expects.

Diffstat:
Mlib/compiler_rt/trunctfhf2.zig | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/compiler_rt/trunctfhf2.zig b/lib/compiler_rt/trunctfhf2.zig @@ -4,6 +4,9 @@ const truncf = @import("./truncf.zig").truncf; comptime { symbol(&__trunctfhf2, "__trunctfhf2"); + if (compiler_rt.want_ppc_abi) { + symbol(&__trunctfhf2, "__trunckfhf2"); + } } pub fn __trunctfhf2(a: f128) callconv(.c) compiler_rt.F16T(f128) {