summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2008-03-30 20:03:46 +0000
committerdas <das@FreeBSD.org>2008-03-30 20:03:46 +0000
commit4e563b6d98d0f990384486a8a9db7dadbf956de9 (patch)
tree96b26a101cb62f3f712059fd87bf6c09ac162162 /lib/msun
parentfed973ef18871061e03edd02a39296d2a30420d2 (diff)
downloadFreeBSD-src-4e563b6d98d0f990384486a8a9db7dadbf956de9.zip
FreeBSD-src-4e563b6d98d0f990384486a8a9db7dadbf956de9.tar.gz
Hook hypotl() and cabsl() up to the build.
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/Makefile9
-rw-r--r--lib/msun/Symbol.map2
-rw-r--r--lib/msun/src/math.h2
3 files changed, 7 insertions, 6 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile
index 2f86fb3..c208261 100644
--- a/lib/msun/Makefile
+++ b/lib/msun/Makefile
@@ -79,10 +79,10 @@ SYMBOL_MAPS= ${SYM_MAPS}
COMMON_SRCS+= s_copysignl.c s_fabsl.c s_llrintl.c s_lrintl.c s_modfl.c
.if ${LDBL_PREC} != 53
# If long double != double use these; otherwise, we alias the double versions.
-COMMON_SRCS+= e_sqrtl.c k_cosl.c k_sinl.c k_tanl.c s_ceill.c s_cosl.c \
- s_exp2l.c s_floorl.c s_fmal.c \
+COMMON_SRCS+= e_hypotl.c e_sqrtl.c k_cosl.c k_sinl.c k_tanl.c \
+ s_ceill.c s_cosl.c s_exp2l.c s_floorl.c s_fmal.c \
s_frexpl.c s_logbl.c s_nanl.c s_nextafterl.c s_nexttoward.c \
- s_rintl.c s_scalbnl.c s_sinl.c s_tanl.c s_truncl.c
+ s_rintl.c s_scalbnl.c s_sinl.c s_tanl.c s_truncl.c w_cabsl.c
.endif
# C99 complex functions
@@ -144,7 +144,8 @@ MLINKS+=fma.3 fmaf.3 fma.3 fmal.3
MLINKS+=fmax.3 fmaxf.3 fmax.3 fmaxl.3 \
fmax.3 fmin.3 fmax.3 fminf.3 fmax.3 fminl.3
MLINKS+=fmod.3 fmodf.3
-MLINKS+=hypot.3 cabs.3 hypot.3 cabsf.3 hypot.3 hypotf.3
+MLINKS+=hypot.3 cabs.3 hypot.3 cabsf.3 hypot.3 cabsl.3 \
+ hypot.3 hypotf.3 hypot.3 hypotl.3
MLINKS+=ieee_test.3 scalb.3 ieee_test.3 scalbf.3
MLINKS+=ieee_test.3 significand.3 ieee_test.3 significandf.3
MLINKS+=ilogb.3 ilogbf.3 ilogb.3 ilogbl.3 \
diff --git a/lib/msun/Symbol.map b/lib/msun/Symbol.map
index 309b45a..e0fe88a 100644
--- a/lib/msun/Symbol.map
+++ b/lib/msun/Symbol.map
@@ -203,4 +203,6 @@ FBSD_1.1 {
tanl;
tgammaf;
sqrtl;
+ hypotl;
+ cabsl;
};
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h
index d7e52ed..78fb995 100644
--- a/lib/msun/src/math.h
+++ b/lib/msun/src/math.h
@@ -427,9 +427,7 @@ long double fminl(long double, long double) __pure2;
long double fmodl(long double, long double);
#endif
long double frexpl(long double value, int *); /* fundamentally !__pure2 */
-#if 0
long double hypotl(long double, long double);
-#endif
int ilogbl(long double) __pure2;
long double ldexpl(long double, int);
#if 0
OpenPOWER on IntegriCloud