summaryrefslogtreecommitdiff
path: root/gold/reduced_debug_output.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/reduced_debug_output.h
parent01fe1b4183324882e88e8c64748bffdc69ea3a9c (diff)
downloadbinutils-gdb-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.tar.gz
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/reduced_debug_output.h')
-rw-r--r--gold/reduced_debug_output.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gold/reduced_debug_output.h b/gold/reduced_debug_output.h
index d1682288c3b..e6a083c093e 100644
--- a/gold/reduced_debug_output.h
+++ b/gold/reduced_debug_output.h
@@ -1,6 +1,6 @@
// reduced_debug_output.h -- reduce debugging information -*- C++ -*-
-// Copyright 2008 Free Software Foundation, Inc.
+// Copyright 2008, 2009 Free Software Foundation, Inc.
// Written by Caleb Howe <cshowe@google.com>.
// This file is part of gold.
@@ -42,9 +42,9 @@ namespace gold
class Output_reduced_debug_abbrev_section : public Output_section
{
public:
- Output_reduced_debug_abbrev_section(const char* name, elfcpp::Elf_Word flags,
- elfcpp::Elf_Xword type)
- : Output_section(name, flags, type), sized_(false),
+ Output_reduced_debug_abbrev_section(const char* aname, elfcpp::Elf_Word aflags,
+ elfcpp::Elf_Xword atype)
+ : Output_section(aname, aflags, atype), sized_(false),
abbrev_count_(0), failed_(false)
{ this->set_requires_postprocessing(); }
@@ -88,9 +88,9 @@ class Output_reduced_debug_abbrev_section : public Output_section
class Output_reduced_debug_info_section : public Output_section
{
public:
- Output_reduced_debug_info_section(const char* name, elfcpp::Elf_Word flags,
- elfcpp::Elf_Xword type)
- : Output_section(name, flags, type), failed_(false)
+ Output_reduced_debug_info_section(const char* aname, elfcpp::Elf_Word aflags,
+ elfcpp::Elf_Xword atype)
+ : Output_section(aname, aflags, atype), failed_(false)
{ this->set_requires_postprocessing(); }
void