tile: Ignore feraiseexcept() internally.

This commit is contained in:
Chris Metcalf 2012-01-31 08:59:30 -05:00
parent 3d31999a90
commit 1353ed1385
2 changed files with 16 additions and 0 deletions

View File

@ -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.

View File

@ -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