// common.h -- handle common symbols for gold -*- C++ -*-
-// Copyright 2006, 2007, 2008 Free Software Foundation, Inc.
+// Copyright (C) 2006-2016 Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
class Allocate_commons_task : public Task
{
public:
- Allocate_commons_task(Symbol_table* symtab, Layout* layout,
- Task_token* symtab_lock, Task_token* blocker)
- : symtab_(symtab), layout_(layout), symtab_lock_(symtab_lock),
- blocker_(blocker)
+ Allocate_commons_task(Symbol_table* symtab, Layout* layout, Mapfile* mapfile,
+ Task_token* blocker)
+ : symtab_(symtab), layout_(layout), mapfile_(mapfile), blocker_(blocker)
{ }
// The standard Task methods.
private:
Symbol_table* symtab_;
Layout* layout_;
- Task_token* symtab_lock_;
+ Mapfile* mapfile_;
Task_token* blocker_;
};