aboutsummaryrefslogtreecommitdiff
path: root/gold/object.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-14 16:53:25 +0000
committerIan Lance Taylor <iant@google.com>2007-11-14 16:53:25 +0000
commit9a2d69841557c502021be98221a796ebe253fa09 (patch)
tree0b92ca469f9782810c95cbbc2e2aa5e80273c669 /gold/object.h
parent3e6fe5ae738660d48c8b6a3e0206cbd2d23fa1c5 (diff)
downloadgdb-9a2d69841557c502021be98221a796ebe253fa09.zip
gdb-9a2d69841557c502021be98221a796ebe253fa09.tar.gz
gdb-9a2d69841557c502021be98221a796ebe253fa09.tar.bz2
Add heuristics for undefined symbol warnings.
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