diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-05-25 06:15:28 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-05-25 06:15:28 +0000 |
commit | 1706a06f9e3f4dbdc5f516e3631d44a081e8b95e (patch) | |
tree | af8a730d66a33ad655177a7ea6788553e659cc72 /gold/dirsearch.h | |
parent | a10ae760821ec6f09cf63f93e3b2ff0e03fbaa3d (diff) | |
download | ppe42-binutils-1706a06f9e3f4dbdc5f516e3631d44a081e8b95e.tar.gz ppe42-binutils-1706a06f9e3f4dbdc5f516e3631d44a081e8b95e.zip |
* dirsearch.cc (Dirsearch::find): Replace n1 and n2 parameters
with name parameter. Add found_name parameter.
* fileread.cc (Input_file::find_file): Adjust code accordingly.
* dirsearch.h (class Dirsearch): Update declaration.
Diffstat (limited to 'gold/dirsearch.h')
-rw-r--r-- | gold/dirsearch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/dirsearch.h b/gold/dirsearch.h index 986d3891eb..270cef6d8f 100644 --- a/gold/dirsearch.h +++ b/gold/dirsearch.h @@ -1,6 +1,6 @@ // dirsearch.h -- directory searching for gold -*- C++ -*- -// Copyright 2006, 2007, 2008 Free Software Foundation, Inc. +// Copyright 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. // Written by Ian Lance Taylor <iant@google.com>. // This file is part of gold. @@ -59,8 +59,8 @@ class Dirsearch // and that value plus one may be used to find the next file with // the same name(s). std::string - find(const std::string&, const std::string& n2, bool* is_in_sysroot, - int* pindex) const; + find(const std::vector<std::string>& names, bool* is_in_sysroot, + int* pindex, std::string *found_name) const; // Return the blocker token which controls access. Task_token* |