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:
Trevor Saunders 2016-03-31 19:49:05 -04:00
parent e1ec8109ab
commit 2fe882148c
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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);