diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-02-01 20:57:22 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-02-01 20:57:22 +0000 |
commit | 8a6bb1d08686ae921601d00bdbcc76c96e5b92de (patch) | |
tree | 8b04fe3b8a82d910ce3b18109567e76fcec75f8d /ChangeLog | |
parent | ae1fcb7b92c60ef7134bc8ea82d6089a6841a4b5 (diff) | |
download | glibc-8a6bb1d08686ae921601d00bdbcc76c96e5b92de.tar glibc-8a6bb1d08686ae921601d00bdbcc76c96e5b92de.tar.gz glibc-8a6bb1d08686ae921601d00bdbcc76c96e5b92de.tar.bz2 glibc-8a6bb1d08686ae921601d00bdbcc76c96e5b92de.zip |
Remove some math_private.h libc_fe* overrides.
math_private.h headers for configurations lacking support for
floating-point exceptions and rounding modes define various libc_fe*
macros to override the default versions with ones that discard any
exception or rounding mode arguments.
Three of the four macros defined in these headers are no longer needed
there: those macros are only used in fma implementations that are not
used for such configurations, now all those configurations properly
use soft-fp fma implementations instead. (Effectively, those macros
were a workaround to allow glibc to build in the absence of a proper
fma implementation for this case - now there is such an
implementation, there is no need to support building the wrong
implementation for those configurations.) Thus, this patch removes
the unnecessary macros.
Tested with build-many-glibcs.py that installed stripped shared
libraries are unchanged by the patch.
* sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
Remove macro.
(libc_fetestexcept): Likewise.
(libc_feupdateenv_test): Likewise.
* sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
(libc_fetestexcept): Likewise.
(libc_feupdateenv_test): Likewise.
* sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
(libc_fetestexcept): Likewise.
(libc_feupdateenv_test): Likewise.
* sysdeps/tile/math_private.h (libc_fesetround): Likewise.
(libc_fetestexcept): Likewise.
(libc_feupdateenv_test): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,5 +1,19 @@ 2018-02-01 Joseph Myers <joseph@codesourcery.com> + * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround): + Remove macro. + (libc_fetestexcept): Likewise. + (libc_feupdateenv_test): Likewise. + * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise. + (libc_fetestexcept): Likewise. + (libc_feupdateenv_test): Likewise. + * sysdeps/nios2/math_private.h (libc_fesetround): Likewise. + (libc_fetestexcept): Likewise. + (libc_feupdateenv_test): Likewise. + * sysdeps/tile/math_private.h (libc_fesetround): Likewise. + (libc_fetestexcept): Likewise. + (libc_feupdateenv_test): Likewise. + * sysdeps/generic/math_private.h [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept): New inline function. |