aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-01-31 08:59:30 -0500
committerChris Metcalf <cmetcalf@tilera.com>2012-01-31 09:00:29 -0500
commit1353ed1385a50c8b933a9fbfefeec503a9a35291 (patch)
tree454101a5235f3d024600d81d1c5f4fa9f17b4211
parent3d31999a90f9c3e12f1910df22a513dccffe3e7a (diff)
downloadglibc-1353ed1385a50c8b933a9fbfefeec503a9a35291.tar
glibc-1353ed1385a50c8b933a9fbfefeec503a9a35291.tar.gz
glibc-1353ed1385a50c8b933a9fbfefeec503a9a35291.tar.bz2
glibc-1353ed1385a50c8b933a9fbfefeec503a9a35291.zip
tile: Ignore feraiseexcept() internally.
-rw-r--r--ChangeLog.tile4
-rw-r--r--sysdeps/tile/math_private.h12
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog.tile b/ChangeLog.tile
index 8842f16910..aded10da79 100644
--- a/ChangeLog.tile
+++ b/ChangeLog.tile
@@ -1,3 +1,7 @@
+2012-01-31 Chris Metcalf <cmetcalf@tilera.com>
+
+ * sysdeps/tile/math_private.h: Ignore feraiseexcept() internally.
+
2012-01-30 Chris Metcalf <cmetcalf@tilera.com>
* sysdeps/tile/sysdep.h: Don't check HAVE_ELF or NO_UNDERSCORES.
diff --git a/sysdeps/tile/math_private.h b/sysdeps/tile/math_private.h
new file mode 100644
index 0000000000..ea4c8eadf7
--- /dev/null
+++ b/sysdeps/tile/math_private.h
@@ -0,0 +1,12 @@
+#ifndef _MATH_PRIVATE_H
+
+#include <math/math_private.h>
+
+/* We have no exception support, so feraiseexcept() must be a no-op.
+ And since we don't define FE_INVALID, FE_DIVBYZERO, etc., we
+ must ignore the argument of feraiseexcept() as well. we return
+ "1" to indicate we failed to raise an exception, though none of
+ the callers in glibc actually care. */
+#define feraiseexcept(excepts) 1
+
+#endif