]> sourceware.org Git - glibc.git/commitdiff
math: Fix isnanf128 static build (BZ 31774)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 21 May 2024 16:52:54 +0000 (13:52 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 21 May 2024 19:53:27 +0000 (16:53 -0300)
Some static implementation of float128 routines might call __isnanf128,
which is not provided by the static object.

Checked on x86_64-linux-gnu.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
sysdeps/ieee754/float128/s_isnanf128.c

index 59f71533cedc752ec0d9a80d221e2dc63e4ab999..b73a4e80d707eeb8a213b4ffb0b6316cf5630717 100644 (file)
 #include "../ldbl-128/s_isnanl.c"
 #if !IS_IN (libm)
 #include <float128-abi.h>
+#ifdef SHARED
 hidden_ver (__isnanf128_impl, __isnanf128)
+#else
+strong_alias (__isnanf128_impl, __isnanf128)
+#endif
 _weak_alias (__isnanf128_impl, isnanl)
 versioned_symbol (libc, __isnanf128_impl, __isnanf128, GLIBC_2_34);
 #if (SHLIB_COMPAT (libc, FLOAT128_VERSION_M, GLIBC_2_34))
This page took 0.046219 seconds and 5 git commands to generate.