[binutils-gdb] sparc: make a field type bfd_reloc_code_real_type

Trevor Saunders tbsaunde@sourceware.org
Tue Jul 19 11:43:00 GMT 2016


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

commit 9bceab41933f59fba4ac2278656d808f1b1d1efe
Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Date:   Mon Jun 27 07:38:33 2016 -0400

    sparc: make a field type bfd_reloc_code_real_type
    
    gas/ChangeLog:
    
    2016-07-19  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
    
    	* config/tc-sparc.c (struct pop_entry): Make the type of reloc
    	bfd_reloc_code_real_type.

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

diff --git a/gas/ChangeLog b/gas/ChangeLog
index cf25c6f..db76560 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
 2016-07-19  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
 
+	* config/tc-sparc.c (struct pop_entry): Make the type of reloc
+	bfd_reloc_code_real_type.
+
+2016-07-19  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
 	* config/tc-sparc.c (pop_table): Remove sentinel.
 	(NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
 	(md_begin): Adjust.
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index 45b2be6..9171407 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -883,7 +883,7 @@ struct pop_entry
   /* The name as it appears in assembler.  */
   const char *name;
   /* The reloc this pseudo-op translates to.  */
-  int reloc;
+  bfd_reloc_code_real_type reloc;
   /* Flags.  See F_POP_* above.  */
   int flags;
 };



More information about the Binutils-cvs mailing list