aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-03-31 19:49:05 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-04-03 19:15:39 -0400
commit2fe882148c2a8f8f604ad040dc07fcf1899a8aa3 (patch)
tree046b5c145dbbf4789ee1cf76ff37f9d621cd47ab /gas/config
parente1ec8109ab32b653c860193798bb13a779e867f5 (diff)
downloadgdb-2fe882148c2a8f8f604ad040dc07fcf1899a8aa3.zip
gdb-2fe882148c2a8f8f604ad040dc07fcf1899a8aa3.tar.gz
gdb-2fe882148c2a8f8f604ad040dc07fcf1899a8aa3.tar.bz2
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.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 2ccc053..e0448a8 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);