summaryrefslogtreecommitdiffstats
path: root/ABI.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'ABI.h.in')
-rw-r--r--ABI.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/ABI.h.in b/ABI.h.in
index 21c9139..6300ada 100644
--- a/ABI.h.in
+++ b/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."