From 1353ed1385a50c8b933a9fbfefeec503a9a35291 Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Tue, 31 Jan 2012 08:59:30 -0500 Subject: [PATCH] tile: Ignore feraiseexcept() internally. --- ChangeLog.tile | 4 ++++ sysdeps/tile/math_private.h | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 sysdeps/tile/math_private.h diff --git a/ChangeLog.tile b/ChangeLog.tile index 8842f169103..aded10da79d 100644 --- a/ChangeLog.tile +++ b/ChangeLog.tile @@ -1,3 +1,7 @@ +2012-01-31 Chris Metcalf + + * sysdeps/tile/math_private.h: Ignore feraiseexcept() internally. + 2012-01-30 Chris Metcalf * 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 00000000000..ea4c8eadf76 --- /dev/null +++ b/sysdeps/tile/math_private.h @@ -0,0 +1,12 @@ +#ifndef _MATH_PRIVATE_H + +#include + +/* 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 -- 2.47.3