This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gold][patch] Remove unused argument/member


The attached patch removes an an unused member and the corresponding arguments.

2010-03-12   Rafael Espindola  <espindola@google.com>

	* readsyms.cc (Read_symbols::do_read_symbols): Update calls to
	Add_symbols' constructor.
	* readsyms.h (Add_symbols): Remove the input_group member.

Cheers,
-- 
Rafael Ãvila de EspÃndola
diff --git a/gold/readsyms.cc b/gold/readsyms.cc
index 2ca391c..980e0af 100644
--- a/gold/readsyms.cc
+++ b/gold/readsyms.cc
@@ -253,7 +253,6 @@ Read_symbols::do_read_symbols(Workqueue* workqueue)
 						this->dirindex_,
 						this->mapfile_,
 						this->input_argument_,
-						this->input_group_,
                                                 obj,
 						NULL,
                                                 this->this_blocker_,
@@ -316,7 +315,6 @@ Read_symbols::do_read_symbols(Workqueue* workqueue)
 					    this->dirindex_,
 					    this->mapfile_,
 					    this->input_argument_,
-					    this->input_group_,
 					    obj,
 					    sd,
 					    this->this_blocker_,
diff --git a/gold/readsyms.h b/gold/readsyms.h
index 626cb38..4956a82 100644
--- a/gold/readsyms.h
+++ b/gold/readsyms.h
@@ -128,12 +128,12 @@ class Add_symbols : public Task
   Add_symbols(Input_objects* input_objects, Symbol_table* symtab,
 	      Layout* layout, Dirsearch* dirpath, int dirindex,
 	      Mapfile* mapfile, const Input_argument* input_argument,
-	      Input_group* input_group, Object* object,
+	      Object* object,
 	      Read_symbols_data* sd, Task_token* this_blocker,
 	      Task_token* next_blocker)
     : input_objects_(input_objects), symtab_(symtab), layout_(layout),
       dirpath_(dirpath), dirindex_(dirindex), mapfile_(mapfile),
-      input_argument_(input_argument), input_group_(input_group),
+      input_argument_(input_argument),
       object_(object), sd_(sd), this_blocker_(this_blocker),
       next_blocker_(next_blocker)
   { }
@@ -163,7 +163,6 @@ private:
   int dirindex_;
   Mapfile* mapfile_;
   const Input_argument* input_argument_;
-  Input_group* input_group_;
   Object* object_;
   Read_symbols_data* sd_;
   Task_token* this_blocker_;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]