aboutsummaryrefslogtreecommitdiff
path: root/gold/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/object.h')
-rw-r--r--gold/object.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gold/object.h b/gold/object.h
index 3327392..61b4035 100644
--- a/gold/object.h
+++ b/gold/object.h
@@ -930,7 +930,8 @@ class Input_objects
{
public:
Input_objects()
- : relobj_list_(), dynobj_list_(), target_(NULL), sonames_()
+ : relobj_list_(), dynobj_list_(), target_(NULL), sonames_(),
+ system_library_directory_()
{ }
// The type of the list of input relocateable objects.
@@ -956,6 +957,11 @@ class Input_objects
void
check_dynamic_dependencies() const;
+ // Return whether an object was found in the system library
+ // directory.
+ bool
+ found_in_system_library_directory(const Object*) const;
+
// Iterate over all regular objects.
Relobj_iterator
@@ -998,6 +1004,8 @@ class Input_objects
Target* target_;
// SONAMEs that we have seen.
Unordered_set<std::string> sonames_;
+ // The directory in which we find the libc.so.
+ std::string system_library_directory_;
};
// Some of the information we pass to the relocation routines. We