diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-10-18 21:03:40 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-10-18 21:04:22 +0000 |
commit | 3c8325fb47c3688cc7d9b70ada2ec71fb0eb219a (patch) | |
tree | eb315c426bd9c1f5aa42f40f6e9e74f2d7aabcd3 /sysdeps/powerpc/nofpu | |
parent | 289528850de3c197821e0b670b23980ff8b4d538 (diff) | |
download | glibc-3c8325fb47c3688cc7d9b70ada2ec71fb0eb219a.tar.gz |
Add e500 port.
Diffstat (limited to 'sysdeps/powerpc/nofpu')
-rw-r--r-- | sysdeps/powerpc/nofpu/soft-supp.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sysdeps/powerpc/nofpu/soft-supp.h b/sysdeps/powerpc/nofpu/soft-supp.h index 64a3d2a1d2..18b4550e3b 100644 --- a/sysdeps/powerpc/nofpu/soft-supp.h +++ b/sysdeps/powerpc/nofpu/soft-supp.h @@ -17,7 +17,13 @@ License along with the GNU C Library. If not, see <http://www.gnu.org/licenses/>. */ -#include <fenv.h> +#if defined __NO_FPRS__ && !defined _SOFT_FLOAT + +# include <fenv_libc.h> + +#else + +# include <fenv.h> typedef union { @@ -25,6 +31,7 @@ typedef union unsigned int l[2]; } fenv_union_t; +#endif /* FIXME: these variables should be thread specific (see bugzilla bug 15483) and ideally preserved across signal handlers, like hardware |