From: Trevor Saunders Date: Thu, 31 Mar 2016 23:49:05 +0000 (-0400) Subject: arm: change the type of a variable to bfd_reloc_code_real_type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fe882148c2a8f8f604ad040dc07fcf1899a8aa3;p=binutils-gdb.git 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 * config/tc-arm.c (do_t_branch): Change the type of reloc to bfd_reloc_code_real_type. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index d4886c02c02..4759033348b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2016-04-03 Trevor Saunders + + * config/tc-arm.c (do_t_branch): Change the type of reloc to + bfd_reloc_code_real_type. + 2016-04-03 Trevor Saunders * config/bfin-parse.y (current_inputline): Remove definition. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 2ccc053c15d..e0448a8a0b2 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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);