Also check if __ARM_ARCH_6KZ__ is defined when detecting when to use ARMv6

instructions. There is some code that still uses the _ARM_ARCH_* macros.

Sponsored by:	DARPA, AFRL
This commit is contained in:
Andrew Turner 2018-07-18 09:17:37 +00:00
parent 6affb8eb8f
commit b04e143189

View File

@ -195,6 +195,7 @@
#if defined (_HAVE_ARMv7_INSTRUCTIONS) || defined (__ARM_ARCH_6__) || \
defined (__ARM_ARCH_6J__) || defined (__ARM_ARCH_6K__) || \
defined (__ARM_ARCH_6KZ__) || \
defined (__ARM_ARCH_6Z__) || defined (__ARM_ARCH_6ZK__)
#define _ARM_ARCH_6
#define _HAVE_ARMv6_INSTRUCTIONS 1