Use relative relocation for R_X86_64_32 on x32
[binutils-gdb.git] / gold / dirsearch.h
index 270cef6d8f68a2d0d764b379afc91bfb0c6f37cd..ebc0b5b3928b85749b9949981a77a4a562f86b72 100644 (file)
@@ -67,6 +67,13 @@ class Dirsearch
   token()
   { return &this->token_; }
 
+  // Search for a file in a directory list.  This is a low-level function and
+  // therefore can be used before options and parameters are set.
+  static std::string
+  find_file_in_dir_list(const std::string& name,
+                        const General_options::Dir_list& directories,
+                        const std::string& extra_search_dir);
+
  private:
   // We can not copy this class.
   Dirsearch(const Dirsearch&);