aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-06-04 23:41:28 +0930
committerAlan Modra <amodra@gcc.gnu.org>2013-06-04 23:41:28 +0930
commit5cc19c62469ac106abc24b9a684132eb7c77b92d (patch)
tree01faa98425018aa23b45a1406b9caa1959a53729 /libgcc
parent44b20bb8ce8bda790febf1e1afd33c4b97bfc8de (diff)
downloadgcc-5cc19c62469ac106abc24b9a684132eb7c77b92d.zip
gcc-5cc19c62469ac106abc24b9a684132eb7c77b92d.tar.gz
gcc-5cc19c62469ac106abc24b9a684132eb7c77b92d.tar.bz2
ibm-ldouble.c: Enable for little-endian.
* config/rs6000/ibm-ldouble.c: Enable for little-endian. From-SVN: r199650
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 04e2aae..956ecb0 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 96fcc77..28e02e9 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)