summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-12-02 13:35:31 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-12-02 13:35:31 (GMT)
commit88c2d4b446c8b23b9694c6f00e76e02cf5e3d8f8 (patch)
tree0b399621d44066c74b197a375ee8b48ff60464af
parentbb5fccd0a77956b02f9f2c6f1c4c7acdea472178 (diff)
parent58c1840a193d8cc5e0fca3e8300b6f9d93c3aeb1 (diff)
downloadCMake-88c2d4b446c8b23b9694c6f00e76e02cf5e3d8f8.zip
CMake-88c2d4b446c8b23b9694c6f00e76e02cf5e3d8f8.tar.gz
CMake-88c2d4b446c8b23b9694c6f00e76e02cf5e3d8f8.tar.bz2
Merge topic 'update-kwiml'
58c1840a Merge branch 'upstream-kwiml' into update-kwiml eec87ec8 KWIML: Teach ABI.h that NIOS2 CPU is little-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 6300ada..87b6e96 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
+/* NIOS2 */
+#elif defined(__NIOS2__) || defined(__NIOS2) || defined(__nios2__)
+# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_LITTLE
+
/* OpenRISC 1000 */
#elif defined(__or1k__)
# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG