diff options
author | Nick Clifton <nickc@redhat.com> | 2017-11-09 10:28:32 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-11-09 10:28:32 +0000 |
commit | 21b81e67c73368dbbc9f6356ac5a7eb274789a32 (patch) | |
tree | baaa96041a75dcb30de163cc49c7d1c5b518c99b /include | |
parent | 286acbb5c25c5895832d3dd3be3398d3f2d64fad (diff) | |
download | gdb-21b81e67c73368dbbc9f6356ac5a7eb274789a32.zip gdb-21b81e67c73368dbbc9f6356ac5a7eb274789a32.tar.gz gdb-21b81e67c73368dbbc9f6356ac5a7eb274789a32.tar.bz2 |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/opcode/aarch64.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index b74d05a..c27ec9c 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -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: diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index 325b757..a597ebe 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -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) |