aboutsummaryrefslogtreecommitdiff
path: root/gold/compressed_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/compressed_output.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/compressed_output.h')
-rw-r--r--gold/compressed_output.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/compressed_output.h b/gold/compressed_output.h
index 11b2762..86e3c01 100644
--- a/gold/compressed_output.h
+++ b/gold/compressed_output.h
@@ -1,6 +1,6 @@
// compressed_output.h -- compressed output sections for gold -*- C++ -*-
-// Copyright 2007, 2008 Free Software Foundation, Inc.
+// Copyright 2007, 2008, 2009 Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
@@ -45,9 +45,9 @@ class Output_compressed_section : public Output_section
{
public:
Output_compressed_section(const General_options* options,
- const char* name, elfcpp::Elf_Word flags,
- elfcpp::Elf_Xword type)
- : Output_section(name, flags, type),
+ const char* cname, elfcpp::Elf_Word cflags,
+ elfcpp::Elf_Xword ctype)
+ : Output_section(cname, cflags, ctype),
options_(options)
{ this->set_requires_postprocessing(); }