aboutsummaryrefslogtreecommitdiffhomepage
path: root/builder
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2023-12-08 18:45:07 +0100
committerRon Evans <[email protected]>2023-12-09 07:47:27 +0100
commit2ee4d9aaa13a0e5ad8a754b6989c41faa7a6d08d (patch)
tree2e0cc20aff0cad50e6f1e1de6b8707460e42efb0 /builder
parentb58b7c59ae81cb2d1679395d89abc099759bb3a9 (diff)
downloadtinygo-2ee4d9aaa13a0e5ad8a754b6989c41faa7a6d08d.tar.gz
tinygo-2ee4d9aaa13a0e5ad8a754b6989c41faa7a6d08d.zip
builder/picolib: add needed file for compiling math functions with error support.
Thanks to @aykevl for actually finding and providing this fix, I really just reported the problem and tested the fix. Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to 'builder')
-rw-r--r--builder/picolibc.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/builder/picolibc.go b/builder/picolibc.go
index 91ad27be6..ab49ba5ad 100644
--- a/builder/picolibc.go
+++ b/builder/picolibc.go
@@ -337,6 +337,12 @@ var picolibcSourcesLarge = []string{
"libm/common/math_err_may_uflow.c",
"libm/common/math_err_check_uflow.c",
"libm/common/math_err_check_oflow.c",
+ "libm/common/math_errf_divzerof.c",
+ "libm/common/math_errf_invalidf.c",
+ "libm/common/math_errf_may_uflowf.c",
+ "libm/common/math_errf_oflowf.c",
+ "libm/common/math_errf_uflowf.c",
+ "libm/common/math_errf_with_errnof.c",
"libm/common/math_inexact.c",
"libm/common/math_inexactf.c",
"libm/common/log.c",