aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/tile/math_private.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a33871..a02e526 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
+ * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
+ fegetround): Add no-op macros to avoid linknamespace issues.
+
* sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
diff --git a/sysdeps/tile/math_private.h b/sysdeps/tile/math_private.h
index 90dcc3f..46b9a91 100644
--- a/sysdeps/tile/math_private.h
+++ b/sysdeps/tile/math_private.h
@@ -27,5 +27,9 @@
#define feraiseexcept(excepts) ({ 0; })
#define feclearexcept(exc) ({ 0; })
+#define fegetenv(env) ({ (void) (env); 0; })
+#define fesetenv(env) ({ (void) (env); 0; })
+#define feupdateenv(env) ({ (void) (env); 0; })
+#define fegetround() ({ FE_TONEAREST; })
#endif