aboutsummaryrefslogtreecommitdiff
path: root/gold/readsyms.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-08-18 22:29:20 +0000
committerIan Lance Taylor <iant@google.com>2006-08-18 22:29:20 +0000
commit14bfc3f55540e60253cc4aae73261325309f750a (patch)
treecb74fe438b44c7aa6e02f05e14f13ba1ae0b508a /gold/readsyms.cc
parent476308bf9bd077b87791da50a13a74b2698c01c7 (diff)
downloadgdb-14bfc3f55540e60253cc4aae73261325309f750a.zip
gdb-14bfc3f55540e60253cc4aae73261325309f750a.tar.gz
gdb-14bfc3f55540e60253cc4aae73261325309f750a.tar.bz2
Another snapshot of the current state of the sources. Gets to the
point of symbol resolution and can now issue a multiple definition error. Also added target selection infrastructure.
Diffstat (limited to 'gold/readsyms.cc')
-rw-r--r--gold/readsyms.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gold/readsyms.cc b/gold/readsyms.cc
index 30b341c..1076e6c 100644
--- a/gold/readsyms.cc
+++ b/gold/readsyms.cc
@@ -73,7 +73,8 @@ Read_symbols::run(Workqueue* workqueue)
p, bytes);
Read_symbols_data sd = obj->read_symbols();
- workqueue->queue(new Add_symbols(obj, sd, this->this_blocker_,
+ workqueue->queue(new Add_symbols(this->symtab_, obj, sd,
+ this->this_blocker_,
this->next_blocker_));
// Opening the file locked it, so now we need to unlock it.
@@ -117,7 +118,7 @@ Add_symbols::locks(Workqueue* workqueue)
void
Add_symbols::run(Workqueue*)
{
- this->object_->add_symbols(this->sd_);
+ this->object_->add_symbols(this->symtab_, this->sd_);
}
} // End namespace gold.