summaryrefslogtreecommitdiff
path: root/gold/readsyms.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-02 21:24:41 +0000
committerIan Lance Taylor <iant@google.com>2007-10-02 21:24:41 +0000
commit51dee2fec3afad5e6fc9f78b8c1d8486ebf3a334 (patch)
tree893aeec618b946af2d86179792c87db387545133 /gold/readsyms.cc
parentf5c3f2256ff4090c1d4a7d023c327eaed335ec27 (diff)
From Craig Silverstein: add support for searching for input files
named in linker scripts.
Diffstat (limited to 'gold/readsyms.cc')
-rw-r--r--gold/readsyms.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/readsyms.cc b/gold/readsyms.cc
index bbeb425f98..87e4fa4c03 100644
--- a/gold/readsyms.cc
+++ b/gold/readsyms.cc
@@ -52,7 +52,7 @@ Task::Is_runnable_type
Read_symbols::is_runnable(Workqueue*)
{
if (this->input_argument_->is_file()
- && this->input_argument_->file().is_lib()
+ && this->input_argument_->file().may_need_search()
&& this->dirpath_.token().is_blocked())
return IS_BLOCKED;