summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-04 14:11:28 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-04 14:11:28 +0000
commitebe9cbdb8301a188c70bd0200f214f4ec3af965a (patch)
tree01faa98425018aa23b45a1406b9caa1959a53729 /libgcc
parent3721f3a0daf203b79c89175bc680e599a6e0f8b1 (diff)
downloadgcc-ebe9cbdb8301a188c70bd0200f214f4ec3af965a.tar.gz
* config/rs6000/ibm-ldouble.c: Enable for little-endian.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/config/rs6000/ibm-ldouble.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 04e2aaebc18..956ecb0fdb4 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-04 Alan Modra <amodra@gmail.com>
+
+ * config/rs6000/ibm-ldouble.c: Enable for little-endian.
+
2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
* config/i386/cpuinfo.c (INTEL_SLM): New enum value.
diff --git a/libgcc/config/rs6000/ibm-ldouble.c b/libgcc/config/rs6000/ibm-ldouble.c
index 96fcc77a881..28e02e995d4 100644
--- a/libgcc/config/rs6000/ibm-ldouble.c
+++ b/libgcc/config/rs6000/ibm-ldouble.c
@@ -42,10 +42,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
represented as (1.0, +0.0) or (1.0, -0.0), and the low part of a
NaN is don't-care.
- This code currently assumes big-endian. */
+ This code currently assumes the most significant double is in
+ the lower numbered register or lower addressed memory. */
-#if (!defined (__LITTLE_ENDIAN__) \
- && (defined (__MACH__) || defined (__powerpc__) || defined (_AIX)))
+#if defined (__MACH__) || defined (__powerpc__) || defined (_AIX)
#define fabs(x) __builtin_fabs(x)
#define isless(x, y) __builtin_isless (x, y)