Add hidden feupdateenv and fetestexcept definitions for MIPS.

This commit is contained in:
Joseph Myers 2010-10-11 14:58:01 +00:00
parent 323e2ce5e0
commit 9431b1591b
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2010-10-11 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add
libm_hidden_def.
* sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise.
2010-08-13 Joseph Myers <joseph@codesourcery.com> 2010-08-13 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/kernel-features.h * sysdeps/unix/sysv/linux/mips/kernel-features.h

View File

@ -1,5 +1,5 @@
/* Install given floating-point environment and raise exceptions. /* Install given floating-point environment and raise exceptions.
Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc. Copyright (C) 1998, 1999, 2000, 2002, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1998. Contributed by Andreas Jaeger <aj@suse.de>, 1998.
@ -41,3 +41,4 @@ feupdateenv (const fenv_t *envp)
/* Success. */ /* Success. */
return 0; return 0;
} }
libm_hidden_def (feupdateenv)

View File

@ -1,5 +1,5 @@
/* Test exception in current environment. /* Test exception in current environment.
Copyright (C) 1998 Free Software Foundation, Inc. Copyright (C) 1998, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998. Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998.
@ -31,3 +31,4 @@ fetestexcept (int excepts)
return cw & excepts & FE_ALL_EXCEPT; return cw & excepts & FE_ALL_EXCEPT;
} }
libm_hidden_def (fetestexcept)