diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2014-12-26 18:39:47 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@ezchip.com> | 2014-12-26 18:39:47 -0500 |
commit | 0025b4cc84a0c1099b11a662acabce2709121be5 (patch) | |
tree | 4fa7c736223a67b33fcb55035b0bfbc75aab30de /sysdeps/tile | |
parent | d8aaf74be9d16990085c66b1f85f59e1aec65df4 (diff) | |
download | glibc-0025b4cc84a0c1099b11a662acabce2709121be5.tar.gz glibc-0025b4cc84a0c1099b11a662acabce2709121be5.tar.xz glibc-0025b4cc84a0c1099b11a662acabce2709121be5.zip |
tile: add no-op fe*() routines for libc internal use
These avoid having tile generate real calls to the no-op functions, which then causes linknamespace test failures. It might make sense to factor all of these out into a common header that can be shared by tile, microblaze, etc., but for now just fix the test failures.
Diffstat (limited to 'sysdeps/tile')
-rw-r--r-- | sysdeps/tile/math_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/tile/math_private.h b/sysdeps/tile/math_private.h index 90dcc3f866..46b9a91228 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 |