1 // common.h -- handle common symbols for gold -*- C++ -*-
11 class General_options;
14 // This task is used to allocate the common symbols.
16 class Allocate_commons_task : public Task
19 Allocate_commons_task(const General_options& options, Symbol_table* symtab,
20 Layout* layout, Task_token* symtab_lock,
22 : options_(options), symtab_(symtab), layout_(layout),
23 symtab_lock_(symtab_lock), blocker_(blocker)
26 // The standard Task methods.
29 is_runnable(Workqueue*);
38 class Allocate_commons_locker;
40 const General_options& options_;
41 Symbol_table* symtab_;
43 Task_token* symtab_lock_;
47 } // End namespace gold.
49 #endif // !defined(GOLD_COMMON_H)