Merge topic 'update-kwiml'

67940795 Merge branch 'upstream-kwiml' into update-kwiml
ded79a97 KWIML: Teach ABI.h about Xtensa architecture
This commit is contained in:
Brad King 2015-03-20 09:47:43 -04:00 committed by CMake Topic Stage
commit ac7d8684c5
1 changed files with 6 additions and 0 deletions

View File

@ -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."