+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.
#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