Change the type of the aarch64_feature_set typedef to unsigned long long so that it will work on 32-bit hosts.

* opcode/aarch64.h (aarch64_feature_set): Change type to unsigned
	long long.
This commit is contained in:
Nick Clifton 2017-11-09 10:28:32 +00:00
parent 286acbb5c2
commit 21b81e67c7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-11-09 Nick Clifton <nickc@redhat.com>
* opcode/aarch64.h (aarch64_feature_set): Change type to unsigned
long long.
2017-11-08 Tamar Christina <tamar.christina@arm.com>
* opcode/aarch64.h:

View File

@ -82,7 +82,7 @@ typedef uint32_t aarch64_insn;
#define AARCH64_ANY AARCH64_FEATURE (-1, 0) /* Any basic core. */
/* CPU-specific features. */
typedef unsigned long aarch64_feature_set;
typedef unsigned long long aarch64_feature_set;
#define AARCH64_CPU_HAS_ALL_FEATURES(CPU,FEAT) \
((~(CPU) & (FEAT)) == 0)