merge from gcc
authorDJ Delorie <dj@redhat.com>
Sat, 23 Oct 2010 04:01:25 +0000 (04:01 +0000)
committerDJ Delorie <dj@redhat.com>
Sat, 23 Oct 2010 04:01:25 +0000 (04:01 +0000)
libdecnumber/ChangeLog
libdecnumber/dconfig.h

index 0d7765ea18983c3eaaa008896a79e293b621aca1..d2d6d5947ec881a60263f9042450314828ab70b6 100644 (file)
@@ -1,3 +1,8 @@
+2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * dconfig.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
+       (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
+
 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
 
        * configure: Regenerated.
index 91aa3341c6c5e9e577474841e1caa303e74c3eeb..26b963c9480f526d2842806599837bf0d74cf042 100644 (file)
@@ -28,12 +28,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #include "coretypes.h"
 #include "tm.h"
 
-#ifndef LIBGCC2_WORDS_BIG_ENDIAN
-#define LIBGCC2_WORDS_BIG_ENDIAN WORDS_BIG_ENDIAN
-#endif
-
 #ifndef LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
-#define LIBGCC2_FLOAT_WORDS_BIG_ENDIAN LIBGCC2_WORDS_BIG_ENDIAN
+#define LIBGCC2_FLOAT_WORDS_BIG_ENDIAN \
+  (__BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__)
 #endif
 
 #if LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
This page took 0.024236 seconds and 4 git commands to generate.