summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-03-28 20:42:53 +0000
committerRoland McGrath <roland@gnu.org>2005-03-28 20:42:53 +0000
commitbecf77cd8c60c06af9e4845ee500b524ebd87cfc (patch)
tree26814e4c6dc70d6bf97d1b0f35f846a9c8cf07aa /math
parentf78573a4bb6dfb8f9c677037b17ae4fa2f301115 (diff)
downloadglibc-becf77cd8c60c06af9e4845ee500b524ebd87cfc.tar.gz
glibc-becf77cd8c60c06af9e4845ee500b524ebd87cfc.tar.xz
glibc-becf77cd8c60c06af9e4845ee500b524ebd87cfc.zip
* sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
	Reported by Mark Mitchell <mark@codesourcery.com>.
	* Versions.def (libm): Define GLIBC_2.4 set.
	* math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
	* sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
	* sysdeps/ia64/Versions: Likewise.
	* sysdeps/m68k/Versions: Likewise.
	* sysdeps/sparc/sparc64/Versions: Likewise.
	* sysdeps/x86_64/Versions: New file.
	* sysdeps/mips/mips64/Versions: New file.
Diffstat (limited to 'math')
-rw-r--r--math/Versions9
1 files changed, 8 insertions, 1 deletions
diff --git a/math/Versions b/math/Versions
index bd24fc6698..39c47626f6 100644
--- a/math/Versions
+++ b/math/Versions
@@ -94,7 +94,7 @@ libm {
   }
   GLIBC_2.1 {
     # mathematical functions
-    exp2; exp2f; exp2l;
+    exp2; exp2f; # exp2l; -- bug omitted this until GLIBC_2.4 (below)
     exp10; exp10f; exp10l;
     fdim; fdimf; fdiml;
     fma; fmaf; fmal;
@@ -161,4 +161,11 @@ libm {
     # fp environment function
     feenableexcept; fedisableexcept; fegetexcept;
   }
+  GLIBC_2.4 {
+    # A bug in sysdeps/generic/w_exp2.c kept this from appearing
+    # in GLIBC_2.1 as it should have on platforms using that
+    # implementation file.  On others, sysdeps/CPU/Versions now
+    # puts exp2l in GLIBC_2.1, which will override this entry.
+    exp2l;
+  }
 }