diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-06-27 07:38:33 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-07-19 07:50:38 -0400 |
commit | 9bceab41933f59fba4ac2278656d808f1b1d1efe (patch) | |
tree | 92e6097324f577fe3c1ea555b1911b52c7f8cd11 /gas | |
parent | cf80913ab894d527fe274384a8fa247278d85d03 (diff) | |
download | gdb-9bceab41933f59fba4ac2278656d808f1b1d1efe.zip gdb-9bceab41933f59fba4ac2278656d808f1b1d1efe.tar.gz gdb-9bceab41933f59fba4ac2278656d808f1b1d1efe.tar.bz2 |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-sparc.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 45b2be64..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; }; |