summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Svensson <debian@cmd.nu>2014-05-22 23:05:56 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-07 20:25:50 (GMT)
commitd061248791db8cd3c6030c4b29ce780cb8bc84da (patch)
tree92a9d096cc62c012ab9a4c3120516dc1500ab03b
parent76acc128a272b1fae303215a985410faec87c3e0 (diff)
downloadCMake-d061248791db8cd3c6030c4b29ce780cb8bc84da.zip
CMake-d061248791db8cd3c6030c4b29ce780cb8bc84da.tar.gz
CMake-d061248791db8cd3c6030c4b29ce780cb8bc84da.tar.bz2
KWIML: Teach ABI.h about OpenRISC 1000
It defines __or1k__ and is big endian.
-rw-r--r--Utilities/KWIML/ABI.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/KWIML/ABI.h.in b/Utilities/KWIML/ABI.h.in
index b71cdfb..21c9139 100644
--- a/Utilities/KWIML/ABI.h.in
+++ b/Utilities/KWIML/ABI.h.in
@@ -398,6 +398,10 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined.
#elif defined(__mips) || defined(__mips__) || defined(__MIPS__)
# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG
+/* OpenRISC 1000 */
+#elif defined(__or1k__)
+# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG
+
/* RS/6000 */
#elif defined(__THW_RS600) || defined(_IBMR2) || defined(_POWER)
# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG