about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-08-26 13:58:19 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-08-29 11:54:45 -0500
commitd47d27d6c08fa95c1ed49a8ce96cef2e37736b72 (patch)
tree6ac198361f1a8629a52aa12424bd5b9b94758b2a
parent780257d48d3e6f3f55b620e38e770c36778deefb (diff)
downloadglibc-d47d27d6c08fa95c1ed49a8ce96cef2e37736b72.tar.gz
glibc-d47d27d6c08fa95c1ed49a8ce96cef2e37736b72.tar.xz
glibc-d47d27d6c08fa95c1ed49a8ce96cef2e37736b72.zip
sparcv9: Restore fdiml@GLIBC_2.1
Use s_fdim.c from sysdeps/ieee754/ldbl-opt/ instead of
math/ to ensure a compat symbol for fdiml is created.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c78e77347a..7438924c7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
+
+	[BZ #20517]
+	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
+	Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
+	exported.
+
 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
 
 	* math/fetestexceptflag.c: New file.
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
index c9c77049a2..9666741fd1 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
@@ -29,4 +29,4 @@ weak_alias (__fdim, fdim)
 # define __fdim __fdim_generic
 #endif
 
-#include <math/s_fdim.c>
+#include <ldbl-opt/s_fdim.c>