aboutsummaryrefslogtreecommitdiff
path: root/gold/reloc.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-12-11 13:42:17 +0000
committerNick Clifton <nickc@redhat.com>2009-12-11 13:42:17 +0000
commit91d6fa6a035cc7d0b7be5c99c194a64cb80924b0 (patch)
tree214507c313b77d619b52afcae2af0b02c9fa700b /gold/reloc.h
parent01fe1b4183324882e88e8c64748bffdc69ea3a9c (diff)
downloadgdb-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.zip
gdb-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.tar.gz
gdb-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.tar.bz2
Add -Wshadow to the gcc command line options used when compiling the binutils.
Fix up all warnings generated by the addition of this switch.
Diffstat (limited to 'gold/reloc.h')
-rw-r--r--gold/reloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/reloc.h b/gold/reloc.h
index 5dd4c85..30a55ff 100644
--- a/gold/reloc.h
+++ b/gold/reloc.h
@@ -259,10 +259,10 @@ class Relocatable_relocs
// Record what to do for the next reloc.
void
- set_next_reloc_strategy(Reloc_strategy strategy)
+ set_next_reloc_strategy(Reloc_strategy astrategy)
{
- this->reloc_strategies_.push_back(static_cast<unsigned char>(strategy));
- if (strategy != RELOC_DISCARD)
+ this->reloc_strategies_.push_back(static_cast<unsigned char>(astrategy));
+ if (astrategy != RELOC_DISCARD)
++this->output_reloc_count_;
}