Move wcstof128 symbol versions to wcsmbs/Versions [committed]

Message ID alpine.DEB.2.20.1711241839070.27668@digraph.polyomino.org.uk
State Committed
Headers

Commit Message

Joseph Myers Nov. 24, 2017, 6:39 p.m. UTC
  This patch moves wcstof128 and wcstof128_l Versions file entries from
stdlib/Versions to wcsmbs/Versions, which is a more appropriate place
for them.

Tested for x86_64, and with build-many-glibcs.py that installed
stripped shared libraries are unchanged by the patch.  Committed.

2017-11-24  Joseph Myers  <joseph@codesourcery.com>

	* stdlib/Versions (libc): Move entries for wcstof128 and
	wcstof128_l to ....
	* wcsmbs/Versions (libc): ... here.
	Include <float128-abi.h>.
  

Patch

diff --git a/stdlib/Versions b/stdlib/Versions
index 9d96de5..bf2172f 100644
--- a/stdlib/Versions
+++ b/stdlib/Versions
@@ -127,8 +127,6 @@  libc {
     strfromf128;
     strtof128;
     strtof128_l;
-    wcstof128;
-    wcstof128_l;
   }
 %endif
   GLIBC_PRIVATE {
diff --git a/wcsmbs/Versions b/wcsmbs/Versions
index b8f7bd7..df6e7cd 100644
--- a/wcsmbs/Versions
+++ b/wcsmbs/Versions
@@ -1,3 +1,4 @@ 
+%include <float128-abi.h>
 libc {
   GLIBC_2.0 {
     # functions used in inline functions or macros
@@ -34,4 +35,10 @@  libc {
   GLIBC_2.16 {
     c16rtomb; c32rtomb; mbrtoc16; mbrtoc32;
   }
+%ifdef FLOAT128_VERSION
+  FLOAT128_VERSION {
+    wcstof128;
+    wcstof128_l;
+  }
+%endif
 }