summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-02-21 20:57:41 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-02-21 20:57:41 (GMT)
commit0c00c179380ea5c6d8507249329551b1c63ac91b (patch)
tree73af3816bf98099aa78974bf14aa553265211571 /Utilities
parentb187a3a8168dd237e17e6e3e8a2c2dd1cb1a7f61 (diff)
parent4cbc21e8da060ab6d8e8831f817326cae22d69dc (diff)
downloadCMake-0c00c179380ea5c6d8507249329551b1c63ac91b.zip
CMake-0c00c179380ea5c6d8507249329551b1c63ac91b.tar.gz
CMake-0c00c179380ea5c6d8507249329551b1c63ac91b.tar.bz2
Merge topic 'update-KWIML'
4cbc21e Merge branch 'upstream-kwiml' into update-KWIML aabf65a KWIML: Teach ABI.h that MIPS is biendian
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/KWIML/ABI.h.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/Utilities/KWIML/ABI.h.in b/Utilities/KWIML/ABI.h.in
index e95a4ff..e85a1c5 100644
--- a/Utilities/KWIML/ABI.h.in
+++ b/Utilities/KWIML/ABI.h.in
@@ -380,7 +380,15 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined.
#elif defined(__m68k__) || defined(M68000)
# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG
-/* MIPS */
+/* MIPSel (MIPS little endian) */
+#elif defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL)
+# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_LITTLE
+
+/* MIPSeb (MIPS big endian) */
+#elif defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB)
+# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG
+
+/* MIPS (fallback, big endian) */
#elif defined(__mips) || defined(__mips__) || defined(__MIPS__)
# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG