summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-11-09 10:28:32 +0000
committerNick Clifton <nickc@redhat.com>2017-11-09 10:28:32 +0000
commit21b81e67c73368dbbc9f6356ac5a7eb274789a32 (patch)
treebaaa96041a75dcb30de163cc49c7d1c5b518c99b
parent286acbb5c25c5895832d3dd3be3398d3f2d64fad (diff)
downloadbinutils-gdb-21b81e67c73368dbbc9f6356ac5a7eb274789a32.tar.gz
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.
-rw-r--r--include/ChangeLog5
-rw-r--r--include/opcode/aarch64.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index b74d05a7eeb..c27ec9c2df4 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 325b757b1cc..a597ebe0cbd 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)