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] d30v: make var type operatorT


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

commit c023823f5f7bff47977658ca8978d8961d2544ef
Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Date:   Sun May 22 03:39:00 2016 -0400

    d30v: make var type operatorT
    
    gas/ChangeLog:
    
    2016-05-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
    
    	* config/tc-d30v.c (find_format): Change type of X_op to operatorT.

Diff:
---
 gas/ChangeLog        | 4 ++++
 gas/config/tc-d30v.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0ecfb48..48cb3cb 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
 2016-05-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
 
+	* config/tc-d30v.c (find_format): Change type of X_op to operatorT.
+
+2016-05-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
 	* config/tc-mmix.c (mmix_parse_predefined_name): Change type of
 	handler_charp to const char *.
 
diff --git a/gas/config/tc-d30v.c b/gas/config/tc-d30v.c
index 88fc124..8961e49 100644
--- a/gas/config/tc-d30v.c
+++ b/gas/config/tc-d30v.c
@@ -1158,7 +1158,7 @@ find_format (struct d30v_opcode *opcode,
 	    {
 	      int flags = d30v_operand_table[fm->operands[j]].flags;
 	      int bits = d30v_operand_table[fm->operands[j]].bits;
-	      int X_op = myops[j].X_op;
+	      operatorT X_op = myops[j].X_op;
 	      int num = myops[j].X_add_number;
 
 	      if (flags & OPERAND_SPECIAL)


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