[RFC,5/5] RFC: powerpc64le: Convert default long double format to IEEE binary128

Message ID 20180524043553.23569-6-gabriel@inconstante.eti.br
State Superseded
Headers

Commit Message

Gabriel F. T. Gomes May 24, 2018, 4:35 a.m. UTC
  A commit with this change would be added only when all other changes are
ready.  I'm sending this in the RFC in case someone wishes to test the
previous patches.
---
 sysdeps/powerpc/powerpc64/le/Implies-before               | 1 +
 sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist | 3 +++
 2 files changed, 4 insertions(+)
  

Patch

diff --git a/sysdeps/powerpc/powerpc64/le/Implies-before b/sysdeps/powerpc/powerpc64/le/Implies-before
index 7c20db4e97..2139f4dae8 100644
--- a/sysdeps/powerpc/powerpc64/le/Implies-before
+++ b/sysdeps/powerpc/powerpc64/le/Implies-before
@@ -1,4 +1,5 @@ 
 # On PowerPC we use the IBM extended long double format.
+ieee754/ldbl-128ibm-compat
 ieee754/ldbl-128ibm
 ieee754/ldbl-opt
 ieee754/dbl-64
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
index 9869feb56b..d495b5852f 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
@@ -2221,3 +2221,6 @@  GLIBC_2.27 wcstof64 F
 GLIBC_2.27 wcstof64_l F
 GLIBC_2.27 wcstof64x F
 GLIBC_2.27 wcstof64x_l F
+GLIBC_2.28 __ieee128___printf_fp F
+GLIBC_2.28 __ieee128__IO_vfprintf F
+GLIBC_2.28 __ieee128_vfprintf F