diff options
author | Nick Clifton <nickc@redhat.com> | 2009-12-11 13:42:17 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-12-11 13:42:17 +0000 |
commit | 91d6fa6a035cc7d0b7be5c99c194a64cb80924b0 (patch) | |
tree | 214507c313b77d619b52afcae2af0b02c9fa700b /gold/reduced_debug_output.h | |
parent | 01fe1b4183324882e88e8c64748bffdc69ea3a9c (diff) | |
download | gdb-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/reduced_debug_output.h')
-rw-r--r-- | gold/reduced_debug_output.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gold/reduced_debug_output.h b/gold/reduced_debug_output.h index d168228..e6a083c 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 |