about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-11-25 19:07:55 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-11-25 19:07:55 +0000
commit63cfe52b6d85b83ad5907484c048fc20f9b783fd (patch)
treedcdb4281c4e79e5a40056e5202bc2c00155af0da /sysdeps
parent41e8926aa4b7f17bc95984737ee82a254ad0911c (diff)
downloadglibc-63cfe52b6d85b83ad5907484c048fc20f9b783fd.tar.gz
glibc-63cfe52b6d85b83ad5907484c048fc20f9b783fd.tar.xz
glibc-63cfe52b6d85b83ad5907484c048fc20f9b783fd.zip
Fix powerpc-nofpu build.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/powerpc/nofpu/fenv_libc.h3
-rw-r--r--sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/powerpc/nofpu/fenv_libc.h b/sysdeps/powerpc/nofpu/fenv_libc.h
index 14a2d04a25..a0b6b910cd 100644
--- a/sysdeps/powerpc/nofpu/fenv_libc.h
+++ b/sysdeps/powerpc/nofpu/fenv_libc.h
@@ -25,4 +25,7 @@
 
 #include <fenv.h>
 
+/* ldbl-128ibm code uses __fegetround.  */
+#define __fegetround()	fegetround ()
+
 #endif /* fenv_libc.h */
diff --git a/sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h b/sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
index 96375808dd..e905edadef 100644
--- a/sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
+++ b/sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
@@ -21,6 +21,9 @@
 
 #include <fenv.h>
 
+/* ldbl-128ibm code uses __fegetround.  */
+#define __fegetround()	fegetround ()
+
 int __feraiseexcept_spe (int);
 libm_hidden_proto (__feraiseexcept_spe)