summaryrefslogtreecommitdiff
path: root/gold/icf.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2013-10-11 21:11:49 +0000
committerRoland McGrath <roland@gnu.org>2013-10-11 21:11:49 +0000
commit43819297ce3e76908a840fa66159ca83c1560fe5 (patch)
treeda989138c79924c1fdd4bc14c9d83311dbde72a1 /gold/icf.h
parent39d9ead7fb50de3049b68021ff70bc558636ab53 (diff)
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/icf.h')
-rw-r--r--gold/icf.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/gold/icf.h b/gold/icf.h
index f1581375c3..df6bc0174f 100644
--- a/gold/icf.h
+++ b/gold/icf.h
@@ -1,6 +1,6 @@
// icf.h -- Identical Code Folding
-// Copyright 2009, 2010 Free Software Foundation, Inc.
+// Copyright 2009, 2010, 2013 Free Software Foundation, Inc.
// Written by Sriraman Tallam <tmsriram@google.com>.
// This file is part of gold.
@@ -67,7 +67,7 @@ class Icf
Icf()
: id_section_(), section_id_(), kept_section_id_(),
fptr_section_id_(),
- num_tracked_relocs(NULL), icf_ready_(false),
+ icf_ready_(false),
reloc_info_list_()
{ }
@@ -97,7 +97,7 @@ class Icf
void
unfold_section(Object* obj, unsigned int shndx);
- // Returns the kept section corresponding to the
+ // Returns the kept section corresponding to the
// given section.
bool
is_section_folded(Object* obj, unsigned int shndx);
@@ -136,7 +136,7 @@ class Icf
Reloc_info_list&
reloc_info_list()
{ return this->reloc_info_list_; }
-
+
// Returns a mapping of each section to a unique integer.
Uniq_secn_id_map&
section_to_int_map()
@@ -156,7 +156,6 @@ class Icf
// function is taken in which case it is dangerous to fold
// this function.
Secn_fptr_taken_set fptr_section_id_;
- unsigned int* num_tracked_relocs;
// Flag to indicate if ICF has been run.
bool icf_ready_;
// This list is populated by gc_process_relocs in gc.h.