about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-64-128/s_frexpl.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-05-22 15:07:12 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-05-23 09:36:08 -0300
commiteaa8113bf0eb599025e3efdbe1bb214ee8dc645a (patch)
treea2a9bad2d4cfafbaa4ea5a28210707516b5d9340 /sysdeps/ieee754/ldbl-64-128/s_frexpl.c
parent1664bbf2383bb6a7d0ae7ecee6be3f23ab953466 (diff)
downloadglibc-eaa8113bf0eb599025e3efdbe1bb214ee8dc645a.tar.gz
glibc-eaa8113bf0eb599025e3efdbe1bb214ee8dc645a.tar.xz
glibc-eaa8113bf0eb599025e3efdbe1bb214ee8dc645a.zip
math: Provide missing math symbols on libc.a (BZ 31781)
The libc.a for alpha, s390, and sparcv9 does not provide
copysignf64x, copysignf128, frexpf64x, frexpf128, modff64x, and
modff128.

Checked with a static build for the affected ABIs.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/ieee754/ldbl-64-128/s_frexpl.c')
-rw-r--r--sysdeps/ieee754/ldbl-64-128/s_frexpl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/ldbl-64-128/s_frexpl.c b/sysdeps/ieee754/ldbl-64-128/s_frexpl.c
index 73ac41e40c..f5f7d349f7 100644
--- a/sysdeps/ieee754/ldbl-64-128/s_frexpl.c
+++ b/sysdeps/ieee754/ldbl-64-128/s_frexpl.c
@@ -1,10 +1,10 @@
 #include <math_ldbl_opt.h>
 #include <libm-alias-ldouble.h>
-#if IS_IN (libc)
+#if IS_IN (libc) && defined SHARED
 # undef libm_alias_ldouble
 # define libm_alias_ldouble(from, to)
 #endif
 #include <sysdeps/ieee754/ldbl-128/s_frexpl.c>
-#if IS_IN (libc)
+#if IS_IN (libc) && defined SHARED
 long_double_symbol (libc, __frexpl, frexpl);
 #endif