KWIML: Teach ABI.h about Xtensa architecture
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
4871885b9c
commit
ded79a976e
6
ABI.h.in
6
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."
|
||||
|
|
Loading…
Reference in New Issue