forked from rpms/glibc
b30ff9539f
Upstream commit: 4bdcc1963bc2b5ba5f8e319e402d9eb2cb6096c1 - manual: make setrlimit() description less ambiguous - manual/stdio: Clarify putc and putwc - malloc: add multi-threaded tests for aligned_alloc/calloc/malloc - malloc: avoid global locks in tst-aligned_alloc-lib.c - resolv: Track single-request fallback via _res._flags (bug 31476) - resolv: Do not wait for non-existing second DNS response after error (bug 30081) - resolv: Allow short error responses to match any query (bug 31890) - elf: Fix localplt.awk for DT_RELR-enabled builds (BZ 31978) - Fix usage of _STACK_GROWS_DOWN and _STACK_GROWS_UP defines [BZ 31989] - Linux: Make __rseq_size useful for feature detection (bug 31965) - elf: Make dl-rseq-symbols Linux only - nptl: fix potential merge of __rseq_* relro symbols - s390x: Fix segfault in wcsncmp [BZ #31934] - stdlib: fix arc4random fallback to /dev/urandom (BZ 31612) - math: Provide missing math symbols on libc.a (BZ 31781) - math: Fix isnanf128 static build (BZ 31774) - math: Fix i386 and m68k exp10 on static build (BZ 31775) - math: Fix i386 and m68k fmod/fmodf on static build (BZ 31488) - posix: Fix pidfd_spawn/pidfd_spawnp leak if execve fails (BZ 31695)
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
commit d473c9bb3b6b0448985cd195c558de2a49fd2dc2
|
|
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>
|
|
|
|
(cherry picked from commit 5d4999e519ec77e75bef920e2540e8605015680a)
|
|
|
|
diff --git a/sysdeps/ieee754/float128/s_isnanf128.c b/sysdeps/ieee754/float128/s_isnanf128.c
|
|
index 59f71533cedc752e..b73a4e80d707eeb8 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))
|