diff options
Diffstat (limited to 'sysdeps/mips/nofpu/feupdateenv.c')
-rw-r--r-- | sysdeps/mips/nofpu/feupdateenv.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/mips/nofpu/feupdateenv.c b/sysdeps/mips/nofpu/feupdateenv.c new file mode 100644 index 0000000000..9a7e316565 --- /dev/null +++ b/sysdeps/mips/nofpu/feupdateenv.c @@ -0,0 +1,8 @@ +/* MIPS bits/fenv.h used to define exception macros for soft-float + despite that not supporting exceptions. Ensure use of the old + FE_NOMASK_ENV value still produces errors (see bug 17088). */ +#include <fenv.h> +#undef FE_ALL_EXCEPT +#define FE_ALL_EXCEPT 0x7c +#define FE_NOMASK_ENV ((const fenv_t *) -2) +#include <math/feupdateenv.c> |