public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] math: Fix isnanf128 static build (BZ 31774)
@ 2024-05-22 11:45 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2024-05-22 11:45 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5d4999e519ec77e75bef920e2540e8605015680a

commit 5d4999e519ec77e75bef920e2540e8605015680a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue May 21 13:52:54 2024 -0300

    math: Fix isnanf128 static build (BZ 31774)
    
    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>

Diff:
---
 sysdeps/ieee754/float128/s_isnanf128.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sysdeps/ieee754/float128/s_isnanf128.c b/sysdeps/ieee754/float128/s_isnanf128.c
index 59f71533ce..b73a4e80d7 100644
--- a/sysdeps/ieee754/float128/s_isnanf128.c
+++ b/sysdeps/ieee754/float128/s_isnanf128.c
@@ -11,7 +11,11 @@
 #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))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-22 11:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-22 11:45 [glibc] math: Fix isnanf128 static build (BZ 31774) Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).