summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-03-20 13:47:43 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-03-20 13:47:43 (GMT)
commitac7d8684c56063469b3ee03cd4f5a60a4a01789e (patch)
treea5489eef4dbb6e5199be4e08709777a4d666b834
parent4faa4c60ce6d66f2789255d94ef90d1a3c7bb6de (diff)
parent6794079523de41837b43e23128643e6b2c3e9ae7 (diff)
downloadCMake-ac7d8684c56063469b3ee03cd4f5a60a4a01789e.zip
CMake-ac7d8684c56063469b3ee03cd4f5a60a4a01789e.tar.gz
CMake-ac7d8684c56063469b3ee03cd4f5a60a4a01789e.tar.bz2
Merge topic 'update-kwiml'
67940795 Merge branch 'upstream-kwiml' into update-kwiml ded79a97 KWIML: Teach ABI.h about Xtensa architecture
-rw-r--r--Utilities/KWIML/ABI.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Utilities/KWIML/ABI.h.in b/Utilities/KWIML/ABI.h.in
index 21c9139..6300ada 100644
--- a/Utilities/KWIML/ABI.h.in
+++ b/Utilities/KWIML/ABI.h.in
@@ -432,6 +432,12 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined.
# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG
# endif
+/* Xtensa */
+#elif defined(__XTENSA_EB__)
+# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG
+#elif defined(__XTENSA_EL__)
+# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_LITTLE
+
/* Unknown CPU */
#elif !defined(@KWIML@_ABI_NO_ERROR_ENDIAN)
# error "Byte order of target CPU unknown."