alpha: fix fegetenv namespace
Commit Message
This fixes a namespace issue for <math.h> functions for alpha.
---
ChangeLog | 5 +++++
sysdeps/alpha/fpu/feholdexcpt.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
Comments
On 07 Dec 2015 21:30, Aurelien Jarno wrote:
> This fixes a namespace issue for <math.h> functions for alpha.
looks obvious to me :)
-mike
@@ -1,5 +1,10 @@
2015-12-07 Aurelien Jarno <aurelien@aurel32.net>
+ * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
+ instead of fegetenv.
+
+2015-12-07 Aurelien Jarno <aurelien@aurel32.net>
+
* sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY, IUCLC,
IMAXBEL, IUTF8): Make always visible since they're needed by POSIX.
(NL2, NL3): Guard BSD terminal modes definitions with [__USE_MISC].
@@ -23,7 +23,7 @@ int
__feholdexcept (fenv_t *envp)
{
/* Save the current state. */
- fegetenv(envp);
+ __fegetenv(envp);
/* Clear all exception status bits and exception enable bits. */
__ieee_set_fp_control(*envp & SWCR_MAP_MASK);