summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2010-11-29 16:34:15 +0000
committerDJ Delorie <dj@redhat.com>2010-11-29 16:34:15 +0000
commit531ff9fd96ea76a508d7351f5bd9130cdb7a4f13 (patch)
tree9a2c265473ea9fbd3cc130763dda7f19f01614e3 /libdecnumber
parent2010-11-29 Phil Muldoon <pmuldoon@redhat.com> (diff)
downloadbinutils-gdb-531ff9fd96ea76a508d7351f5bd9130cdb7a4f13.tar.gz
binutils-gdb-531ff9fd96ea76a508d7351f5bd9130cdb7a4f13.tar.bz2
binutils-gdb-531ff9fd96ea76a508d7351f5bd9130cdb7a4f13.zip
merge from gcc
Diffstat (limited to 'libdecnumber')
-rw-r--r--libdecnumber/ChangeLog5
-rw-r--r--libdecnumber/dconfig.h7
2 files changed, 6 insertions, 6 deletions
diff --git a/libdecnumber/ChangeLog b/libdecnumber/ChangeLog
index d2d6d5947ec..101cda9e37c 100644
--- a/libdecnumber/ChangeLog
+++ b/libdecnumber/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
+
+ * dconfig.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Delete.
+ (WORDS_BIG_ENDIAN): Define based on value of __FLOAT_WORD_ORDER__.
+
2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
* dconfig.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
diff --git a/libdecnumber/dconfig.h b/libdecnumber/dconfig.h
index 26b963c9480..503cb61e02d 100644
--- a/libdecnumber/dconfig.h
+++ b/libdecnumber/dconfig.h
@@ -28,12 +28,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "coretypes.h"
#include "tm.h"
-#ifndef LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
-#define LIBGCC2_FLOAT_WORDS_BIG_ENDIAN \
- (__BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__)
-#endif
-
-#if LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
+#if __FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__
#define WORDS_BIGENDIAN 1
#endif