This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: tweak config/dfp-bit.h
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 2 Mar 2006 12:11:22 +1100
- Subject: PATCH: tweak config/dfp-bit.h
This little patch adds one more define that is needed to compile
dfp-bit.c on some targets. Including libgcc2.h directly is just too
messy for this macro's limited needs. Okay for the trunk?
2006-03-02 Ben Elliston <bje@au.ibm.com>
* config/dfp-bit.h (LIBGCC2_WORDS_BIG_ENDIAN): Define.
Index: config/dfp-bit.h
===================================================================
--- config/dfp-bit.h (revision 111630)
+++ config/dfp-bit.h (working copy)
@@ -34,6 +34,10 @@ Software Foundation, 51 Franklin Street,
#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
#endif