diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-12-14 19:53:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-12-14 19:53:04 +0000 |
commit | 41dd4d6be55540ab447717b3f1dca4ab3e8345b9 (patch) | |
tree | a2ca73d3e4970063d3352adaec0898d7c12a583a /gold/ehframe.h | |
parent | 440b3ab709fdb25494f1a31bb09700ccbf9ba55b (diff) | |
download | binutils-redhat-41dd4d6be55540ab447717b3f1dca4ab3e8345b9.tar.gz |
Revert -Wshadow changes, all changes from:
2009-12-11 Doug Kwan <dougkwan@google.com>
2009-12-11 Nick Clifton <nickc@redhat.com>
* configure.ac: Remove -Wshadow when setting WARN_CXXFLAGS.
Diffstat (limited to 'gold/ehframe.h')
-rw-r--r-- | gold/ehframe.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/ehframe.h b/gold/ehframe.h index 06d0fdc4bc..4726ffc436 100644 --- a/gold/ehframe.h +++ b/gold/ehframe.h @@ -1,6 +1,6 @@ // ehframe.h -- handle exception frame sections for gold -*- C++ -*- -// Copyright 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +// Copyright 2006, 2007, 2008 Free Software Foundation, Inc. // Written by Ian Lance Taylor <iant@google.com>. // This file is part of gold. @@ -169,9 +169,9 @@ class Fde { public: Fde(Relobj* object, unsigned int shndx, section_offset_type input_offset, - const unsigned char* contents, size_t len) + const unsigned char* contents, size_t length) : object_(object), shndx_(shndx), input_offset_(input_offset), - contents_(reinterpret_cast<const char*>(contents), len) + contents_(reinterpret_cast<const char*>(contents), length) { } // Return the length of this FDE. Add 4 for the length and 4 for |