aboutsummaryrefslogtreecommitdiff
path: root/gold/readsyms.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-21 07:20:01 +0000
committerIan Lance Taylor <iant@google.com>2007-09-21 07:20:01 +0000
commit7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b (patch)
tree8e9869d1fd6febfdfdc5e754ba12f36e899d9bb2 /gold/readsyms.h
parentbe9d5a933eb75809b583dc29bc7deb7690954d12 (diff)
downloadgdb-7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b.zip
gdb-7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b.tar.gz
gdb-7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b.tar.bz2
Add global parameters.
Diffstat (limited to 'gold/readsyms.h')
-rw-r--r--gold/readsyms.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/gold/readsyms.h b/gold/readsyms.h
index d5ada61..606b6e0 100644
--- a/gold/readsyms.h
+++ b/gold/readsyms.h
@@ -83,12 +83,12 @@ class Add_symbols : public Task
// THIS_BLOCKER is used to prevent this task from running before the
// one for the previous input file. NEXT_BLOCKER is used to prevent
// the next task from running.
- Add_symbols(const General_options& options, Input_objects* input_objects,
- Symbol_table* symtab, Layout* layout, Object* object,
+ Add_symbols(Input_objects* input_objects, Symbol_table* symtab,
+ Layout* layout, Object* object,
Read_symbols_data* sd, Task_token* this_blocker,
Task_token* next_blocker)
- : options_(options), input_objects_(input_objects), symtab_(symtab),
- layout_(layout), object_(object), sd_(sd), this_blocker_(this_blocker),
+ : input_objects_(input_objects), symtab_(symtab), layout_(layout),
+ object_(object), sd_(sd), this_blocker_(this_blocker),
next_blocker_(next_blocker)
{ }
@@ -108,7 +108,6 @@ class Add_symbols : public Task
private:
class Add_symbols_locker;
- const General_options& options_;
Input_objects* input_objects_;
Symbol_table* symtab_;
Layout* layout_;
@@ -155,11 +154,11 @@ class Input_group
class Finish_group : public Task
{
public:
- Finish_group(const General_options& options, Input_objects* input_objects,
- Symbol_table* symtab, Layout* layout, Input_group* input_group,
+ Finish_group(Input_objects* input_objects, Symbol_table* symtab,
+ Layout* layout, Input_group* input_group,
int saw_undefined, Task_token* this_blocker,
Task_token* next_blocker)
- : options_(options), input_objects_(input_objects), symtab_(symtab),
+ : input_objects_(input_objects), symtab_(symtab),
layout_(layout), input_group_(input_group),
saw_undefined_(saw_undefined), this_blocker_(this_blocker),
next_blocker_(next_blocker)
@@ -179,7 +178,6 @@ class Finish_group : public Task
run(Workqueue*);
private:
- const General_options& options_;
Input_objects* input_objects_;
Symbol_table* symtab_;
Layout* layout_;