]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
authorRoland McGrath <roland@gnu.org>
Mon, 28 Mar 2005 20:42:53 +0000 (20:42 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 28 Mar 2005 20:42:53 +0000 (20:42 +0000)
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.

ChangeLog
Versions.def
math/Versions
sysdeps/generic/w_exp2.c
sysdeps/i386/Versions
sysdeps/ia64/Versions
sysdeps/m68k/Versions
sysdeps/mips/mips64/Versions [new file with mode: 0644]
sysdeps/sparc/sparc64/Versions
sysdeps/x86_64/Versions [new file with mode: 0644]

index f465a1d69a4312d0f7523c6d981e94b4777c3b2b..15e1a3f0034edb3ebdad00f630eb19e7d0afb028 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2005-03-28  Roland McGrath  <roland@redhat.com>
 
+       * 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.
+
        * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
        [__USE_GNU] (NL_LOCALE_NAME): New macro.
        * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
index 81b31386bdd7ba8d8dc458c74392e9a4c6266174..6ae43c79d66840755cd88ecdeb1a66f733545317 100644 (file)
@@ -44,6 +44,7 @@ libm {
   GLIBC_2.2
   GLIBC_2.2.3
   GLIBC_2.3.4
+  GLIBC_2.4
 }
 libnsl {
   GLIBC_2.0
index bd24fc6698f068ad954e7f6e6b8e78d25fed7918..39c47626f66d63c0ded291fbfacc4a55de1115ba 100644 (file)
@@ -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;
+  }
 }
index 4e667d770eb50a81193eae43aed574d3f52db0bf..ccf6a1cd6a52062d45a183a2ea1d8a79f7d1dcf7 100644 (file)
@@ -31,6 +31,6 @@ __exp2 (double x)             /* wrapper exp2 */
 }
 weak_alias (__exp2, exp2)
 #ifdef NO_LONG_DOUBLE
-strong_alias (__exp2, __expl2)
-weak_alias (__exp2, expl2)
+strong_alias (__exp2, __exp2l)
+weak_alias (__exp2, exp2l)
 #endif
index b20d7cc02728651fc1d866bdaaa2d6ae040ee54e..b0230d31cf566012ddaf9b701705118890c7e89b 100644 (file)
@@ -20,3 +20,10 @@ libc {
     __strspn_cg; __strspn_g; __strstr_cg; __strstr_g;
   }
 }
+libm {
+  GLIBC_2.1 {
+    # A generic bug got this omitted from other configurations' version
+    # sets, but we always had it.
+    exp2l;
+  }
+}
index 6910566ac99562e1caf52f3989091e2f50f1b46b..56b417d614800aaf7b408781eb4fd16382201b5b 100644 (file)
@@ -12,3 +12,10 @@ libc {
     __multi3;
   }
 }
+libm {
+  GLIBC_2.1 {
+    # A generic bug got this omitted from other configurations' version
+    # sets, but we always had it.
+    exp2l;
+  }
+}
index 2b020f8f58d91b8d310155ed8cbd6cd2862119c1..f450291a9bed37f4602c3d60e05f24b7262c0a9b 100644 (file)
@@ -4,3 +4,10 @@ libc {
     __divdi3; __moddi3; __udivdi3; __umoddi3;
   }
 }
+libm {
+  GLIBC_2.1 {
+    # A generic bug got this omitted from other configurations' version
+    # sets, but we always had it.
+    exp2l;
+  }
+}
diff --git a/sysdeps/mips/mips64/Versions b/sysdeps/mips/mips64/Versions
new file mode 100644 (file)
index 0000000..253a65f
--- /dev/null
@@ -0,0 +1,7 @@
+libm {
+  GLIBC_2.1 {
+    # A generic bug got this omitted from other configurations' version
+    # sets, but we always had it.
+    exp2l;
+  }
+}
index 99fe741a12bf80243164c85138ffe1d383b90345..4cef7bcc71820df63d8ada7d39b499f7b888cfa5 100644 (file)
@@ -5,3 +5,10 @@ libc {
     __align_cpy_8; __align_cpy_16;
   }
 }
+libm {
+  GLIBC_2.1 {
+    # A generic bug got this omitted from other configurations' version
+    # sets, but we always had it.
+    exp2l;
+  }
+}
diff --git a/sysdeps/x86_64/Versions b/sysdeps/x86_64/Versions
new file mode 100644 (file)
index 0000000..253a65f
--- /dev/null
@@ -0,0 +1,7 @@
+libm {
+  GLIBC_2.1 {
+    # A generic bug got this omitted from other configurations' version
+    # sets, but we always had it.
+    exp2l;
+  }
+}