authorgravatar for hi@mihaelm.commihael <hi@mihaelm.com> 2026-03-26 23:38:26+01:00
committergravatar for hi@mihaelm.commihael <hi@mihaelm.com> 2026-04-02 23:54:20+02:00
logf6ac1a6e05cbd46f646cf09e036921ca282694cf
tree92c2bf146ac739891e48d5199e02629413af82a6
parent9a53be5fb444873ee561eb54a0ea1aaeaaad844d
signaturebadge-check Signed by SSH key SHA256:aoFoShdYLdrqMichqKXSSieTKUfACUIDJHsKc4V2tQg

`compiler_rt`: Symbolically link `cosl` & `sinl` impl to `__cosl` & `__sinl`

Some of the functions (e.g., `lgammal`) depended on the `__sinl` and `__cosl` functions being present.

2 files changed, 2 insertions(+), 0 deletions(-)

lib/compiler_rt/cos.zig+1
......@@ -21,6 +21,7 @@ const utils = @import("math_utils.zig");
2121
2222comptime {
2323 symbol(&__cosh, "__cosh");
24 symbol(&cosl, "__cosl");
2425 symbol(&cosf, "cosf");
2526 symbol(&cos, "cos");
2627 symbol(&__cosx, "__cosx");
lib/compiler_rt/sin.zig+1
......@@ -21,6 +21,7 @@ const utils = @import("math_utils.zig");
2121
2222comptime {
2323 symbol(&__sinh, "__sinh");
24 symbol(&sinl, "__sinl");
2425 symbol(&sinf, "sinf");
2526 symbol(&sin, "sin");
2627 symbol(&__sinx, "__sinx");