aboutsummaryrefslogtreecommitdiff
path: root/gold/readsyms.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-09-21 22:13:18 +0000
committerIan Lance Taylor <iant@google.com>2006-09-21 22:13:18 +0000
commita2fb1b05e4af3fac54faac6c07a4717f2cb34aae (patch)
treecab19eb8c3abe76aee65d684dcceee884ed59c61 /gold/readsyms.h
parent5ffff7c1d1d2db595e4c23a8c388d3a51d5bb357 (diff)
downloadgdb-a2fb1b05e4af3fac54faac6c07a4717f2cb34aae.zip
gdb-a2fb1b05e4af3fac54faac6c07a4717f2cb34aae.tar.gz
gdb-a2fb1b05e4af3fac54faac6c07a4717f2cb34aae.tar.bz2
New drop, with first cut of section layout code.
Diffstat (limited to 'gold/readsyms.h')
-rw-r--r--gold/readsyms.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/gold/readsyms.h b/gold/readsyms.h
index f01cf61..73d4efe 100644
--- a/gold/readsyms.h
+++ b/gold/readsyms.h
@@ -3,7 +3,6 @@
#ifndef GOLD_READSYMS_H
#define GOLD_READSYMS_H
-#include "targetsize.h"
#include "workqueue.h"
#include "object.h"
@@ -26,11 +25,13 @@ class Read_symbols : public Task
// associated Add_symbols task from running before the previous one
// has completed; it will be NULL for the first task. NEXT_BLOCKER
// is used to block the next input file from adding symbols.
- Read_symbols(const General_options& options, Symbol_table* symtab,
- const Dirsearch& dirpath, const Input_argument& input,
+ Read_symbols(const General_options& options, Object_list* input_objects,
+ Symbol_table* symtab, const Dirsearch& dirpath,
+ const Input_argument& input,
Task_token* this_blocker, Task_token* next_blocker)
- : options_(options), symtab_(symtab), dirpath_(dirpath), input_(input),
- this_blocker_(this_blocker), next_blocker_(next_blocker)
+ : options_(options), input_objects_(input_objects), symtab_(symtab),
+ dirpath_(dirpath), input_(input), this_blocker_(this_blocker),
+ next_blocker_(next_blocker)
{ }
~Read_symbols();
@@ -48,6 +49,7 @@ class Read_symbols : public Task
private:
const General_options& options_;
+ Object_list* input_objects_;
Symbol_table* symtab_;
const Dirsearch& dirpath_;
const Input_argument& input_;
@@ -85,6 +87,8 @@ class Add_symbols : public Task
run(Workqueue*);
private:
+ class Add_symbols_locker;
+
Symbol_table* symtab_;
Object* object_;
Read_symbols_data sd_;