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");...@@ -21,6 +21,7 @@ const utils = @import("math_utils.zig");
2121
22comptime {22comptime {
23 symbol(&__cosh, "__cosh");23 symbol(&__cosh, "__cosh");
24 symbol(&cosl, "__cosl");
24 symbol(&cosf, "cosf");25 symbol(&cosf, "cosf");
25 symbol(&cos, "cos");26 symbol(&cos, "cos");
26 symbol(&__cosx, "__cosx");27 symbol(&__cosx, "__cosx");
lib/compiler_rt/sin.zig+1
...@@ -21,6 +21,7 @@ const utils = @import("math_utils.zig");...@@ -21,6 +21,7 @@ const utils = @import("math_utils.zig");
2121
22comptime {22comptime {
23 symbol(&__sinh, "__sinh");23 symbol(&__sinh, "__sinh");
24 symbol(&sinl, "__sinl");
24 symbol(&sinf, "sinf");25 symbol(&sinf, "sinf");
25 symbol(&sin, "sin");26 symbol(&sin, "sin");
26 symbol(&__sinx, "__sinx");27 symbol(&__sinx, "__sinx");