aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-29 16:53:05 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-29 16:53:05 +0530
commit0d1029de128ad2afd4a7b13a0805aea8fdb82e37 (patch)
tree54476f59a8b6e59113bdae2391e2842a37b90116
parentc2d94018c6963b63e95e4666feac976a97816972 (diff)
downloadglibc-0d1029de128ad2afd4a7b13a0805aea8fdb82e37.zip
glibc-0d1029de128ad2afd4a7b13a0805aea8fdb82e37.tar.gz
glibc-0d1029de128ad2afd4a7b13a0805aea8fdb82e37.tar.bz2
Remove usage of ONE macro
I missed this instance, which caused a build failure in powerpc.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/powerpc/power4/fpu/mpa-arch.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 59797b9..8f3ba6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
+ ONE with its value.
+
* sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
(__pow_mp): Replace ONE and MONE with their values.
* sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
diff --git a/sysdeps/powerpc/power4/fpu/mpa-arch.h b/sysdeps/powerpc/power4/fpu/mpa-arch.h
index 9007c9d..43175bb 100644
--- a/sysdeps/powerpc/power4/fpu/mpa-arch.h
+++ b/sysdeps/powerpc/power4/fpu/mpa-arch.h
@@ -40,7 +40,7 @@ typedef double mantissa_store_t;
({ \
double u = ((x) + TWO52) - TWO52; \
if (u > (x)) \
- u -= ONE; \
+ u -= 1; \
(r) = u; \
(x) -= u; \
})