Add hidden feupdateenv and fetestexcept definitions for ARM.

This commit is contained in:
Joseph Myers 2010-10-11 14:57:33 +00:00
parent dc54bc1eaa
commit 323e2ce5e0
4 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,11 @@
2010-10-11 Joseph Myers <joseph@codesourcery.com>
* sysdeps/arm/eabi/feupdateenv.c (feupdateenv): Add
libm_hidden_ver.
* sysdeps/arm/eabi/ftestexcept.c (fetestexcept): Add
libm_hidden_def.
* sysdeps/arm/fpu/ftestexcept.c (fetestexcept): Likewise.
2010-09-30 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/syscalls.list: Add entry for

View File

@ -1,5 +1,5 @@
/* Install given floating-point environment and raise exceptions.
Copyright (C) 1997, 1999, 2000, 2008 Free Software Foundation, Inc.
Copyright (C) 1997, 1999, 2000, 2008, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@ -56,4 +56,5 @@ 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);

View File

@ -1,5 +1,5 @@
/* Test exception in current environment.
Copyright (C) 1997, 1998, 2005 Free Software Foundation, Inc.
Copyright (C) 1997, 1998, 2005, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -41,3 +41,4 @@ fetestexcept (int excepts)
/* Unsupported, return 0. */
return 0;
}
libm_hidden_def (fetestexcept)

View File

@ -1,5 +1,5 @@
/* Test exception in current environment.
Copyright (C) 1997, 1998 Free Software Foundation, Inc.
Copyright (C) 1997, 1998, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -30,3 +30,4 @@ fetestexcept (int excepts)
return temp & excepts & FE_ALL_EXCEPT;
}
libm_hidden_def (fetestexcept)