diff options
author | Roland McGrath <roland@gnu.org> | 2013-10-11 21:11:49 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2013-10-11 21:11:49 +0000 |
commit | 43819297ce3e76908a840fa66159ca83c1560fe5 (patch) | |
tree | da989138c79924c1fdd4bc14c9d83311dbde72a1 /gold/archive.cc | |
parent | 39d9ead7fb50de3049b68021ff70bc558636ab53 (diff) | |
download | gdb-43819297ce3e76908a840fa66159ca83c1560fe5.zip gdb-43819297ce3e76908a840fa66159ca83c1560fe5.tar.gz gdb-43819297ce3e76908a840fa66159ca83c1560fe5.tar.bz2 |
gold/
* i386.cc (Target_i386): Remove unused member dynbss_.
* arm.cc (Target_arm): Likewise.
* powerpc.cc (Target_powerpc): Likewise.
* sparc.cc (Target_sparc): Likewise.
* tilegx.cc (Target_tilegx): Likewise.
* x86_64.cc (Target_x86_64): Likewise.
* dwarf_reader.h (Dwarf_info_reader): Remove unused members
type_signature_, type_offset_.
* plugin.h (Plugin_hook): Remove unused member layout_.
* readsyms.h (Add_symbols): Remove unused members dirpath_, dirindex_,
mapfile_.
(Read_member): Remove unused members input_objects_, symtab_,
mapfile_, layout_.
(Check_library): Remove unused member symtab_.
* archive.h (Lib_group): Remove unused member lib_.
* archive.cc (Lib_group::Lib_group): Update initializer.
* incremental.h (Incremental_binary): Remove unused member target_.
(Incremental_script_entry): Removed unused member script_.
* layout.h (Write_symbols_task): Remove unused member input_objects_.
* icf.h (Icf): Remove unused member num_tracked_relocs.
Diffstat (limited to 'gold/archive.cc')
-rw-r--r-- | gold/archive.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gold/archive.cc b/gold/archive.cc index f2cd848..53d88a2 100644 --- a/gold/archive.cc +++ b/gold/archive.cc @@ -1,6 +1,7 @@ // archive.cc -- archive support for gold -// Copyright 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +// Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2013 +// Free Software Foundation, Inc. // Written by Ian Lance Taylor <iant@google.com>. // This file is part of gold. @@ -1130,7 +1131,7 @@ unsigned int Lib_group::total_members; unsigned int Lib_group::total_members_loaded; Lib_group::Lib_group(const Input_file_lib* lib, Task* task) - : Library_base(task), lib_(lib), members_() + : Library_base(task), members_() { this->members_.resize(lib->size()); } |