diff options
author | Ian Lance Taylor <ian@airs.com> | 2010-02-11 07:42:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2010-02-11 07:42:17 +0000 |
commit | fa17a3f4328a7f3bbf5491159c422edb0b2da7ba (patch) | |
tree | a31fafb5f6b738627a05ad5a22f9a04dfdc04d84 /gold/object.h | |
parent | 612bdda1388367fe02d0c4096e87ce7668d4b3ee (diff) | |
download | ppe42-binutils-fa17a3f4328a7f3bbf5491159c422edb0b2da7ba.tar.gz ppe42-binutils-fa17a3f4328a7f3bbf5491159c422edb0b2da7ba.zip |
* dirsearch.cc (Dirsearch::initialize): Add all blockers before
queueing any tasks.
* gold.cc (queue_middle_gc_tasks): Likewise. Fix final blocker.
(queue_middle_tasks): Add all blockers before queueing any tasks.
(queue_final_tasks): Likewise.
* token.h (Task_token::add_blockers): New function.
* object.h (Input_objects::number_of_relobjs): New function.
Diffstat (limited to 'gold/object.h')
-rw-r--r-- | gold/object.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/object.h b/gold/object.h index fb3caefcdb..1be5471b4b 100644 --- a/gold/object.h +++ b/gold/object.h @@ -2009,6 +2009,11 @@ class Input_objects any_dynamic() const { return !this->dynobj_list_.empty(); } + // Return the number of non dynamic objects. + int + number_of_relobjs() const + { return this->relobj_list_.size(); } + // Return the number of input objects. int number_of_input_objects() const |