arm: change the type of a variable to bfd_reloc_code_real_type
It is only ever assigned values in the enum, and it is passed to functions that expect the argument's type to be the enum. gas/ChangeLog: 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-arm.c (do_t_branch): Change the type of reloc to bfd_reloc_code_real_type.
This commit is contained in:
parent
e1ec8109ab
commit
2fe882148c
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||
|
||||
* config/tc-arm.c (do_t_branch): Change the type of reloc to
|
||||
bfd_reloc_code_real_type.
|
||||
|
||||
2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||
|
||||
* config/bfin-parse.y (current_inputline): Remove definition.
|
||||
|
|
|
@ -10971,7 +10971,7 @@ do_t_branch (void)
|
|||
{
|
||||
int opcode;
|
||||
int cond;
|
||||
int reloc;
|
||||
bfd_reloc_code_real_type reloc;
|
||||
|
||||
cond = inst.cond;
|
||||
set_it_insn_type (IF_INSIDE_IT_LAST_INSN);
|
||||
|
|
Loading…
Add table
Reference in a new issue