This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Change the type of the aarch64_feature_set typedef to unsigned long long so that it will work on 32-


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=21b81e67c73368dbbc9f6356ac5a7eb274789a32

commit 21b81e67c73368dbbc9f6356ac5a7eb274789a32
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Nov 9 10:28:32 2017 +0000

    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.

Diff:
---
 include/ChangeLog        | 5 +++++
 include/opcode/aarch64.h | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]