This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]