Add hidden feupdateenv and fetestexcept definitions for Power.

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

View File

@ -1,3 +1,10 @@
2010-10-11 Joseph Myers <joseph@codesourcery.com>
* sysdeps/powerpc/nofpu/feupdateenv.c (feupdateenv): Add
libm_hidden_ver.
* sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Add
libm_hidden_def.
2010-02-10 Joseph Myers <joseph@codesourcery.com>
* sysdeps/powerpc/nofpu/fegetenv.c: Add hidden alias.

View File

@ -1,6 +1,6 @@
/* Install given floating-point environment and raise exceptions
(soft-float edition).
Copyright (C) 2002 Free Software Foundation, Inc.
Copyright (C) 2002, 2010 Free Software Foundation, Inc.
Contributed by Aldy Hernandez <aldyh@redhat.com>, 2002.
This file is part of the GNU C Library.
@ -49,4 +49,5 @@ strong_alias (__feupdateenv, __old_feupdateenv)
compat_symbol (libm, BP_SYM (__old_feupdateenv), BP_SYM (feupdateenv), GLIBC_2_1);
#endif
libm_hidden_ver (__feupdateenv, feupdateenv)
versioned_symbol (libm, BP_SYM (__feupdateenv), BP_SYM (feupdateenv), GLIBC_2_2);

View File

@ -1,5 +1,5 @@
/* Test floating-point exceptions (soft-float edition).
Copyright (C) 2002 Free Software Foundation, Inc.
Copyright (C) 2002, 2010 Free Software Foundation, Inc.
Contributed by Aldy Hernandez <aldyh@redhat.com>, 2002.
This file is part of the GNU C Library.
@ -26,3 +26,4 @@ fetestexcept (int x)
{
return __sim_exceptions & x;
}
libm_hidden_def (fetestexcept)