* mapfile.cc: New file.
[deliverable/binutils-gdb.git] / gold / common.h
index 66b676e8f5d28679f36bbbf1e5c700c060ef3526..96536040fc3f4fb1d4d7652b222fb1a4155fd238 100644 (file)
@@ -28,7 +28,6 @@
 namespace gold
 {
 
-class General_options;
 class Symbol_table;
 
 // This task is used to allocate the common symbols.
@@ -36,10 +35,9 @@ class Symbol_table;
 class Allocate_commons_task : public Task
 {
  public:
-  Allocate_commons_task(const General_options& options, Symbol_table* symtab,
-                       Layout* layout, Task_token* symtab_lock,
-                       Task_token* blocker)
-    : options_(options), symtab_(symtab), layout_(layout),
+  Allocate_commons_task(Symbol_table* symtab, Layout* layout, Mapfile* mapfile,
+                       Task_token* symtab_lock, Task_token* blocker)
+    : symtab_(symtab), layout_(layout), mapfile_(mapfile),
       symtab_lock_(symtab_lock), blocker_(blocker)
   { }
 
@@ -59,9 +57,9 @@ class Allocate_commons_task : public Task
   { return "Allocate_commons_task"; }
 
  private:
-  const General_options& options_;
   Symbol_table* symtab_;
   Layout* layout_;
+  Mapfile* mapfile_;
   Task_token* symtab_lock_;
   Task_token* blocker_;
 };
This page took 0.024047 seconds and 4 git commands to generate.