about summary refs log tree commit diff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-10-14 15:18:42 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-12-06 05:47:03 -0600
commitae1a4cd9fff141bfda46ecd7279f535dc64ba815 (patch)
treec7a2d3f7006ffd468a9b95a2ff4600c9d24f37cd /sysdeps/ieee754
parent64fffd65d7df6ab157f97a893664b679fe5e923c (diff)
downloadglibc-ae1a4cd9fff141bfda46ecd7279f535dc64ba815.tar.gz
glibc-ae1a4cd9fff141bfda46ecd7279f535dc64ba815.tar.xz
glibc-ae1a4cd9fff141bfda46ecd7279f535dc64ba815.zip
PowerPC: multiarch finite/finitef for PowerPC32
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/dbl-64/s_finite.c8
-rw-r--r--sysdeps/ieee754/flt-32/s_finitef.c7
2 files changed, 12 insertions, 3 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_finite.c b/sysdeps/ieee754/dbl-64/s_finite.c
index 5dc398efc6..49986bbde9 100644
--- a/sysdeps/ieee754/dbl-64/s_finite.c
+++ b/sysdeps/ieee754/dbl-64/s_finite.c
@@ -23,8 +23,12 @@ static char rcsid[] = "$NetBSD: s_finite.c,v 1.8 1995/05/10 20:47:17 jtc Exp $";
 #include <math_private.h>
 
 #undef __finite
-int
-__finite (double x)
+
+#ifndef FINITE
+# define FINITE __finite
+#endif
+
+int FINITE(double x)
 {
   int32_t hx;
   GET_HIGH_WORD (hx, x);
diff --git a/sysdeps/ieee754/flt-32/s_finitef.c b/sysdeps/ieee754/flt-32/s_finitef.c
index dfdf4ad0b7..4ea270ae07 100644
--- a/sysdeps/ieee754/flt-32/s_finitef.c
+++ b/sysdeps/ieee754/flt-32/s_finitef.c
@@ -26,7 +26,12 @@ static char rcsid[] = "$NetBSD: s_finitef.c,v 1.4 1995/05/10 20:47:18 jtc Exp $"
 #include <math_private.h>
 
 #undef __finitef
-int __finitef(float x)
+
+#ifndef FINITEF
+# define FINITEF __finitef
+#endif
+
+int FINITEF(float x)
 {
 	int32_t ix;
 	GET_FLOAT_WORD(ix,x);