]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Move __isnanf128 to libc.so
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 30 Mar 2021 09:28:19 +0000 (14:58 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 30 Mar 2021 09:28:19 +0000 (14:58 +0530)
All of the isnan functions are in libc.so due to printf_fp, so move
__isnanf128 there too for consistency.

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@ascii.art.br>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
18 files changed:
sysdeps/ia64/float128-abi.h
sysdeps/ieee754/float128/Versions
sysdeps/ieee754/float128/s_isnanf128.c
sysdeps/ieee754/ldbl-128/float128-abi.h
sysdeps/mach/hurd/i386/libc.abilist
sysdeps/mach/hurd/i386/libm.abilist
sysdeps/unix/sysv/linux/i386/libc.abilist
sysdeps/unix/sysv/linux/i386/libm.abilist
sysdeps/unix/sysv/linux/ia64/libc.abilist
sysdeps/unix/sysv/linux/ia64/libm.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h
sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist
sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
sysdeps/unix/sysv/linux/x86_64/64/libm.abilist
sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist
sysdeps/x86/float128-abi.h

index 6b954cc673d918b60e53e7400b4583c35b0ea354..8e7616bc7e9d3a27935bf9b51dc5de3212588ff7 100644 (file)
@@ -1,2 +1,3 @@
 /* ABI version for _Float128 ABI introduction.  */
 #define FLOAT128_VERSION GLIBC_2.26
+#define FLOAT128_VERSION_M GLIBC_2_26
index 2eebc6f1b0d2630b10edbd9b439a1bc87fec78e7..2be97f8564e3dff6f522b0796b9ee47eae565527 100644 (file)
@@ -4,9 +4,13 @@
 %endif
 libc {
   FLOAT128_VERSION {
+    __isnanf128;
     __strtof128_internal;
     __wcstof128_internal;
   }
+  GLIBC_2.34 {
+    __isnanf128;
+  }
   GLIBC_PRIVATE {
     # For __nanf128.
     __strtof128_nan;
@@ -30,7 +34,6 @@ libm {
     __hypotf128_finite;
     __iseqsigf128;
     __isinff128;
-    __isnanf128;
     __issignalingf128;
     __j0f128_finite;
     __j1f128_finite;
index efba24059a125d2ca8933cc061882a53f19bbc74..59f71533cedc752ec0d9a80d221e2dc63e4ab999 100644 (file)
@@ -1,2 +1,21 @@
+#include <shlib-compat.h>
 #include <float128_private.h>
+#if !IS_IN (libm)
+#undef __isnanl
+#define __isnanl __isnanf128_impl
+#undef weak_alias
+#define weak_alias(n,a)
+#undef mathx_hidden_def
+#define mathx_hidden_def(x)
+#endif
 #include "../ldbl-128/s_isnanl.c"
+#if !IS_IN (libm)
+#include <float128-abi.h>
+hidden_ver (__isnanf128_impl, __isnanf128)
+_weak_alias (__isnanf128_impl, isnanl)
+versioned_symbol (libc, __isnanf128_impl, __isnanf128, GLIBC_2_34);
+#if (SHLIB_COMPAT (libc, FLOAT128_VERSION_M, GLIBC_2_34))
+strong_alias (__isnanf128_impl, __isnanf128_alias)
+compat_symbol (libc, __isnanf128_alias, __isnanf128, FLOAT128_VERSION_M);
+#endif
+#endif
index 3077ffc7fef7d5101aacaa450f21e409780b0440..8251ce841f49edc775a651da5a4069e90572d088 100644 (file)
@@ -1,2 +1,3 @@
 /* ABI version for _Float128 ABI introduction.  */
 #define FLOAT128_VERSION GLIBC_2.27
+#define FLOAT128_VERSION_M GLIBC_2_27
index e10a286d2ef894d1b88e9081e2f3a26468e30e25..7424dc91660c4fe0fb1695003c9ad4419a4d97dd 100644 (file)
@@ -1995,6 +1995,7 @@ GLIBC_2.25 gnu_dev_minor F
 GLIBC_2.25 strfromd F
 GLIBC_2.25 strfromf F
 GLIBC_2.25 strfroml F
+GLIBC_2.26 __isnanf128 F
 GLIBC_2.26 __strtof128_internal F
 GLIBC_2.26 __wcstof128_internal F
 GLIBC_2.26 _hurd_exec_paths F
@@ -2203,6 +2204,7 @@ GLIBC_2.33 mknod F
 GLIBC_2.33 mknodat F
 GLIBC_2.33 stat F
 GLIBC_2.33 stat64 F
+GLIBC_2.34 __isnanf128 F
 GLIBC_2.34 __libc_start_main F
 GLIBC_2.4 __confstr_chk F
 GLIBC_2.4 __fgets_chk F
index a19a69ce6ae2c2e168b00bc270e0d8c2b6ef4264..bb077b9030cd18310b4c121ed76550912c4f7b9d 100644 (file)
@@ -474,7 +474,6 @@ GLIBC_2.26 __gammaf128_r_finite F
 GLIBC_2.26 __hypotf128_finite F
 GLIBC_2.26 __iseqsigf128 F
 GLIBC_2.26 __isinff128 F
-GLIBC_2.26 __isnanf128 F
 GLIBC_2.26 __issignalingf128 F
 GLIBC_2.26 __j0f128_finite F
 GLIBC_2.26 __j1f128_finite F
index cdb6ec501a25d12759902b4fb0a0f65944ecac0d..cfd4e55e5777f0264585a7915a78987f8214a8a5 100644 (file)
@@ -2011,6 +2011,7 @@ GLIBC_2.25 getrandom F
 GLIBC_2.25 strfromd F
 GLIBC_2.25 strfromf F
 GLIBC_2.25 strfroml F
+GLIBC_2.26 __isnanf128 F
 GLIBC_2.26 __strtof128_internal F
 GLIBC_2.26 __wcstof128_internal F
 GLIBC_2.26 preadv2 F
@@ -2250,6 +2251,7 @@ GLIBC_2.33 mknod F
 GLIBC_2.33 mknodat F
 GLIBC_2.33 stat F
 GLIBC_2.33 stat64 F
+GLIBC_2.34 __isnanf128 F
 GLIBC_2.34 __libc_start_main F
 GLIBC_2.34 pthread_kill F
 GLIBC_2.4 __confstr_chk F
index 0ab740dd97c0ddfc8505eb3c548f7b395741575a..335b5e7aa27c73f62661881a80282c5b698602b6 100644 (file)
@@ -481,7 +481,6 @@ GLIBC_2.26 __gammaf128_r_finite F
 GLIBC_2.26 __hypotf128_finite F
 GLIBC_2.26 __iseqsigf128 F
 GLIBC_2.26 __isinff128 F
-GLIBC_2.26 __isnanf128 F
 GLIBC_2.26 __issignalingf128 F
 GLIBC_2.26 __j0f128_finite F
 GLIBC_2.26 __j1f128_finite F
index d0424a8b1af86eb73fabfcfcb1c8b3d0694a7d68..426e15f4f6dab3a3eea13bf1e86d752d149cd34d 100644 (file)
@@ -1873,6 +1873,7 @@ GLIBC_2.25 getrandom F
 GLIBC_2.25 strfromd F
 GLIBC_2.25 strfromf F
 GLIBC_2.25 strfroml F
+GLIBC_2.26 __isnanf128 F
 GLIBC_2.26 __strtof128_internal F
 GLIBC_2.26 __wcstof128_internal F
 GLIBC_2.26 preadv2 F
@@ -2107,6 +2108,7 @@ GLIBC_2.33 mknod F
 GLIBC_2.33 mknodat F
 GLIBC_2.33 stat F
 GLIBC_2.33 stat64 F
+GLIBC_2.34 __isnanf128 F
 GLIBC_2.34 __libc_start_main F
 GLIBC_2.34 pthread_kill F
 GLIBC_2.4 __confstr_chk F
index c8e8fd71426391334f6cda9e6323d8f7095c94d9..ec82b83e6f41824620f1c3351f5bb4d461a19435 100644 (file)
@@ -411,7 +411,6 @@ GLIBC_2.26 __gammaf128_r_finite F
 GLIBC_2.26 __hypotf128_finite F
 GLIBC_2.26 __iseqsigf128 F
 GLIBC_2.26 __isinff128 F
-GLIBC_2.26 __isnanf128 F
 GLIBC_2.26 __issignalingf128 F
 GLIBC_2.26 __j0f128_finite F
 GLIBC_2.26 __j1f128_finite F
index 6b954cc673d918b60e53e7400b4583c35b0ea354..8e7616bc7e9d3a27935bf9b51dc5de3212588ff7 100644 (file)
@@ -1,2 +1,3 @@
 /* ABI version for _Float128 ABI introduction.  */
 #define FLOAT128_VERSION GLIBC_2.26
+#define FLOAT128_VERSION_M GLIBC_2_26
index d99afb2f607d97749081eee069f59e4dea5c5634..ec9ae255395cb3741a4fb7df3e248f3164fb3573 100644 (file)
@@ -2184,6 +2184,7 @@ GLIBC_2.25 getrandom F
 GLIBC_2.25 strfromd F
 GLIBC_2.25 strfromf F
 GLIBC_2.25 strfroml F
+GLIBC_2.26 __isnanf128 F
 GLIBC_2.26 __strtof128_internal F
 GLIBC_2.26 __wcstof128_internal F
 GLIBC_2.26 preadv2 F
@@ -2367,5 +2368,6 @@ GLIBC_2.33 mknod F
 GLIBC_2.33 mknodat F
 GLIBC_2.33 stat F
 GLIBC_2.33 stat64 F
+GLIBC_2.34 __isnanf128 F
 GLIBC_2.34 __libc_start_main F
 GLIBC_2.34 pthread_kill F
index 4f8d3c11917d939954bc824b887d27ef84cda34d..8266bc32f4ca761e3e283ab463f0b2ec9e43352e 100644 (file)
@@ -478,7 +478,6 @@ GLIBC_2.26 __gammaf128_r_finite F
 GLIBC_2.26 __hypotf128_finite F
 GLIBC_2.26 __iseqsigf128 F
 GLIBC_2.26 __isinff128 F
-GLIBC_2.26 __isnanf128 F
 GLIBC_2.26 __issignalingf128 F
 GLIBC_2.26 __j0f128_finite F
 GLIBC_2.26 __j1f128_finite F
index dde107a2499dc85bdbbe064cf915ea84c33ceb91..da0974f11acf452eaf35707f976dab2d2a65ee18 100644 (file)
@@ -1854,6 +1854,7 @@ GLIBC_2.25 getrandom F
 GLIBC_2.25 strfromd F
 GLIBC_2.25 strfromf F
 GLIBC_2.25 strfroml F
+GLIBC_2.26 __isnanf128 F
 GLIBC_2.26 __strtof128_internal F
 GLIBC_2.26 __wcstof128_internal F
 GLIBC_2.26 preadv2 F
@@ -2089,6 +2090,7 @@ GLIBC_2.33 mknod F
 GLIBC_2.33 mknodat F
 GLIBC_2.33 stat F
 GLIBC_2.33 stat64 F
+GLIBC_2.34 __isnanf128 F
 GLIBC_2.34 __libc_start_main F
 GLIBC_2.34 pthread_kill F
 GLIBC_2.4 __confstr_chk F
index 89c4ac484dc5ff825c81551b5247bf557f1d402a..b6a088ca64d08165ab6333894924e3f43913d486 100644 (file)
@@ -472,7 +472,6 @@ GLIBC_2.26 __gammaf128_r_finite F
 GLIBC_2.26 __hypotf128_finite F
 GLIBC_2.26 __iseqsigf128 F
 GLIBC_2.26 __isinff128 F
-GLIBC_2.26 __isnanf128 F
 GLIBC_2.26 __issignalingf128 F
 GLIBC_2.26 __j0f128_finite F
 GLIBC_2.26 __j1f128_finite F
index dcea87ca2258421f0b3bde361c36b15d873a0f3a..d3d155e7c0d67a2646c90c9f9f508a8683100283 100644 (file)
@@ -2107,6 +2107,7 @@ GLIBC_2.25 getrandom F
 GLIBC_2.25 strfromd F
 GLIBC_2.25 strfromf F
 GLIBC_2.25 strfroml F
+GLIBC_2.26 __isnanf128 F
 GLIBC_2.26 __strtof128_internal F
 GLIBC_2.26 __wcstof128_internal F
 GLIBC_2.26 preadv2 F
@@ -2186,5 +2187,6 @@ GLIBC_2.33 mknod F
 GLIBC_2.33 mknodat F
 GLIBC_2.33 stat F
 GLIBC_2.33 stat64 F
+GLIBC_2.34 __isnanf128 F
 GLIBC_2.34 __libc_start_main F
 GLIBC_2.34 pthread_kill F
index d3c9cec71a5c588e80b11d399459cb94bc376240..dfb5a7fa794e6e9c50d082a6849769c5c860d76a 100644 (file)
@@ -472,7 +472,6 @@ GLIBC_2.26 __gammaf128_r_finite F
 GLIBC_2.26 __hypotf128_finite F
 GLIBC_2.26 __iseqsigf128 F
 GLIBC_2.26 __isinff128 F
-GLIBC_2.26 __isnanf128 F
 GLIBC_2.26 __issignalingf128 F
 GLIBC_2.26 __j0f128_finite F
 GLIBC_2.26 __j1f128_finite F
index 6b954cc673d918b60e53e7400b4583c35b0ea354..8e7616bc7e9d3a27935bf9b51dc5de3212588ff7 100644 (file)
@@ -1,2 +1,3 @@
 /* ABI version for _Float128 ABI introduction.  */
 #define FLOAT128_VERSION GLIBC_2.26
+#define FLOAT128_VERSION_M GLIBC_2_26