From: Chris Metcalf Date: Tue, 31 Jan 2012 13:59:30 +0000 (-0500) Subject: tile: Ignore feraiseexcept() internally. X-Git-Tag: glibc-2.16-ports-before-merge~299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1353ed1385a50c8b933a9fbfefeec503a9a35291;p=thirdparty%2Fglibc.git tile: Ignore feraiseexcept() internally. --- 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