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.
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,
GLIBC_2.2
GLIBC_2.2.3
GLIBC_2.3.4
+ GLIBC_2.4
}
libnsl {
GLIBC_2.0
}
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;
# 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;
+ }
}
}
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
__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;
+ }
+}
__multi3;
}
}
+libm {
+ GLIBC_2.1 {
+ # A generic bug got this omitted from other configurations' version
+ # sets, but we always had it.
+ exp2l;
+ }
+}
__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;
+ }
+}
--- /dev/null
+libm {
+ GLIBC_2.1 {
+ # A generic bug got this omitted from other configurations' version
+ # sets, but we always had it.
+ exp2l;
+ }
+}
__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;
+ }
+}
--- /dev/null
+libm {
+ GLIBC_2.1 {
+ # A generic bug got this omitted from other configurations' version
+ # sets, but we always had it.
+ exp2l;
+ }
+}