diff options
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 fb3caef..1be5471 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 |