+2014-05-14 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
+ feclearexcept. Remove symbol versioning code.
+ * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
+ symbol versioning code.
+ * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
+ symbol versioning code.
+ * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
+ feupdateenv. Remove symbol versioning code.
+ * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
+ fegetexceptflag. Remove symbol versioning code.
+ * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
+ fesetexceptflag. Remove symbol versioning code.
+ * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
+ GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
+ * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
+ (__posix_fadvise64_l32): Remove prototype.
+ [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
+ code.
+
2014-05-13 Roland McGrath <roland@hack.frob.com>
* sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
int
-__feclearexcept (int excepts)
+feclearexcept (int excepts)
{
if (ARM_HAVE_VFP)
{
/* Unsupported, so fail unless nothing needs to be done. */
return (excepts != 0);
}
-
-#include <shlib-compat.h>
-#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
-strong_alias (__feclearexcept, __old_feclearexcept)
-compat_symbol (libm, __old_feclearexcept, feclearexcept, GLIBC_2_1);
-#endif
-
-libm_hidden_ver (__feclearexcept, feclearexcept)
-versioned_symbol (libm, __feclearexcept, feclearexcept, GLIBC_2_2);
+libm_hidden_def (feclearexcept)
int
-__fegetenv (fenv_t *envp)
+fegetenv (fenv_t *envp)
{
if (ARM_HAVE_VFP)
{
/* Unsupported, so fail. */
return 1;
}
-
-#include <shlib-compat.h>
-#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
-strong_alias (__fegetenv, __old_fegetenv)
-compat_symbol (libm, __old_fegetenv, fegetenv, GLIBC_2_1);
-#endif
-
-libm_hidden_ver (__fegetenv, fegetenv)
-versioned_symbol (libm, __fegetenv, fegetenv, GLIBC_2_2);
+libm_hidden_def (fegetenv)
int
-__fesetenv (const fenv_t *envp)
+fesetenv (const fenv_t *envp)
{
if (ARM_HAVE_VFP)
{
return 1;
}
-#include <shlib-compat.h>
-libm_hidden_ver (__fesetenv, fesetenv)
-versioned_symbol (libm, __fesetenv, fesetenv, GLIBC_2_2);
+libm_hidden_def (fesetenv)
int
-__feupdateenv (const fenv_t *envp)
+feupdateenv (const fenv_t *envp)
{
if (ARM_HAVE_VFP)
{
/* Unsupported, so fail. */
return 1;
}
-
-#include <shlib-compat.h>
-#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
-strong_alias (__feupdateenv, __old_feupdateenv)
-compat_symbol (libm, __old_feupdateenv, feupdateenv, GLIBC_2_1);
-#endif
-
-libm_hidden_ver (__feupdateenv, feupdateenv)
-versioned_symbol (libm, __feupdateenv, feupdateenv, GLIBC_2_2);
+libm_hidden_def (feupdateenv)
int
-__fegetexceptflag (fexcept_t *flagp, int excepts)
+fegetexceptflag (fexcept_t *flagp, int excepts)
{
if (ARM_HAVE_VFP)
{
/* Unsupported, so fail. */
return 1;
}
-
-#include <shlib-compat.h>
-#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
-strong_alias (__fegetexceptflag, __old_fegetexceptflag)
-compat_symbol (libm, __old_fegetexceptflag, fegetexceptflag, GLIBC_2_1);
-#endif
-versioned_symbol (libm, __fegetexceptflag, fegetexceptflag, GLIBC_2_2);
int
-__fesetexceptflag (const fexcept_t *flagp, int excepts)
+fesetexceptflag (const fexcept_t *flagp, int excepts)
{
if (ARM_HAVE_VFP)
{
/* Unsupported, so fail unless nothing needs to be done. */
return (excepts != 0);
}
-
-#include <shlib-compat.h>
-#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
-strong_alias (__fesetexceptflag, __old_fesetexceptflag)
-compat_symbol (libm, __old_fesetexceptflag, fesetexceptflag, GLIBC_2_1);
-#endif
-
-versioned_symbol (libm, __fesetexceptflag, fesetexceptflag, GLIBC_2_2);
libc {
- GLIBC_2.0 {
- # Exception handling support functions from libgcc
- __register_frame; __register_frame_table; __deregister_frame;
- __frame_state_for; __register_frame_info_table;
- }
- GLIBC_2.1 {
+ GLIBC_2.4 {
ioperm; iopl;
inb; inw; inl;
outb; outw; outl;
}
- GLIBC_2.2 {
- # functions used in other libraries
- __xstat64; __fxstat64; __lxstat64;
-
- # a*
- alphasort64;
-
- # g*
- glob64;
-
- # New rlimit interface
- getrlimit; setrlimit; getrlimit64;
-
- # r*
- readdir64; readdir64_r;
-
- # s*
- scandir64;
-
- # v*
- versionsort64;
- }
- GLIBC_2.3.3 {
- posix_fadvise64; posix_fallocate64;
- }
GLIBC_2.11 {
fallocate64;
}
#include <sysdep.h>
int __posix_fadvise64_l64 (int fd, off64_t offset, off64_t len, int advise);
-int __posix_fadvise64_l32 (int fd, off64_t offset, size_t len, int advise);
/* Advice the system about the expected behaviour of the application with
respect to the file associated with FD. */
return 0;
return INTERNAL_SYSCALL_ERRNO (ret, err);
}
-
-#include <shlib-compat.h>
-
-#if SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)
-
-int
-attribute_compat_text_section
-__posix_fadvise64_l32 (int fd, off64_t offset, size_t len, int advise)
-{
- return __posix_fadvise64_l64 (fd, offset, len, advise);
-}
-
-versioned_symbol (libc, __posix_fadvise64_l64, posix_fadvise64, GLIBC_2_3_3);
-compat_symbol (libc, __posix_fadvise64_l32, posix_fadvise64, GLIBC_2_2);
-#else
strong_alias (__posix_fadvise64_l64, posix_fadvise64);
-#endif