about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-11-24 18:38:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-11-24 18:38:45 +0000
commit9d4b01173c5f605d7edb26d3210d04efaa1bb032 (patch)
tree97c6f92d71f6cda451615479ae4c90e13e86b639
parent7911dd47da73026acc930564c10a1ceeb68d8583 (diff)
downloadglibc-9d4b01173c5f605d7edb26d3210d04efaa1bb032.tar.gz
glibc-9d4b01173c5f605d7edb26d3210d04efaa1bb032.tar.xz
glibc-9d4b01173c5f605d7edb26d3210d04efaa1bb032.zip
Move wcstof128 symbol versions to wcsmbs/Versions.
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.

	* stdlib/Versions (libc): Move entries for wcstof128 and
	wcstof128_l to ....
	* wcsmbs/Versions (libc): ... here.
	Include <float128-abi.h>.
-rw-r--r--ChangeLog7
-rw-r--r--stdlib/Versions2
-rw-r--r--wcsmbs/Versions7
3 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9acf3ae58d..f788721364 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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>.
+
 2017-11-24  Florian Weimer  <fweimer@redhat.com>
 
 	* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
diff --git a/stdlib/Versions b/stdlib/Versions
index 9d96de525a..bf2172f926 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 b8f7bd73eb..df6e7cd1af 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
 }