aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/ld80/Makefile.inc
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2024-07-10 17:44:59 +0800
committerJeff Johnston <jjohnstn@redhat.com>2024-07-16 15:19:21 -0400
commit5c5ae2c08610dd72f63e5a75e08de754305d3470 (patch)
tree944813599eb1ee21e603a029180747cc6e7aa717 /newlib/libm/ld80/Makefile.inc
parent1339af44679aee0895fe311cfad89d38cfc2b919 (diff)
downloadnewlib-5c5ae2c08610dd72f63e5a75e08de754305d3470.zip
newlib-5c5ae2c08610dd72f63e5a75e08de754305d3470.tar.gz
newlib-5c5ae2c08610dd72f63e5a75e08de754305d3470.tar.bz2
newlib: Add more FreeBSD files for non LDBL_EQ_DBL support
For RISC-V, AArch64, i386, and x86_64 - k_tanl.c is required for tanl; the linker will report `__kernel_tanl` not found when tanl is called. - s_cospil.c and s_sinpil.c are added for cospil and sinpil, which are already available for ld80 but not for ld128.
Diffstat (limited to 'newlib/libm/ld80/Makefile.inc')
-rw-r--r--newlib/libm/ld80/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libm/ld80/Makefile.inc b/newlib/libm/ld80/Makefile.inc
index 97fbacd..7bb20f7 100644
--- a/newlib/libm/ld80/Makefile.inc
+++ b/newlib/libm/ld80/Makefile.inc
@@ -1,8 +1,8 @@
%C%_lsrc = \
%D%/b_tgammal.c %D%/e_powl.c %D%/s_erfl.c %D%/s_exp2l.c \
%D%/s_expl.c %D%/s_logl.c %D%/s_sinpil.c %D%/s_cospil.c \
- %D%/invtrig.c %D%/e_lgammal_r.c %D%/k_cosl.c %D%/k_sinl.c
-
+ %D%/invtrig.c %D%/e_lgammal_r.c %D%/k_cosl.c %D%/k_sinl.c \
+ %D%/k_tanl.c
libm_a_CFLAGS_%C% = -fbuiltin -fno-math-errno