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:12:19 (GMT)
commit3c0bb28162e1b2d05e913f874dba23b556109a97 (patch)
tree1c49954b70c14bd77f7987b2be56f4d662ef5336
parent9fdfe07411d8846f2adf0e46cf9046238c149d2b (diff)
downloadCMake-3c0bb28162e1b2d05e913f874dba23b556109a97.zip
CMake-3c0bb28162e1b2d05e913f874dba23b556109a97.tar.gz
CMake-3c0bb28162e1b2d05e913f874dba23b556109a97.tar.bz2
KWIML: Teach ABI.h about OpenRISC 1000
It defines __or1k__ and is big endian.
-rw-r--r--ABI.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/ABI.h.in b/ABI.h.in
index b71cdfb..21c9139 100644
--- a/ABI.h.in
+++ b/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