[gold][patch] Clean up library names search

Ian Lance Taylor iant@google.com
Wed May 25 06:16:00 GMT 2011


David Meyer <pdox@google.com> writes:

> I am working on an architecture which has more than two library
> suffixes (.a, .so, and .pso).
>
> This patch increases the flexibility of library name searching, by
> using a list instead of hard-coding two possibilities.


Approved and applied with some formatting changes and the following
ChangeLog entry.  I also changed from std::list to std::vector--gold
mostly uses vectors.

Thanks.

Ian


2011-05-24  David Meyer  <pdox@google.com>

	* 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 6225 bytes
Desc: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20110525/7ad62dec/attachment.bin>


More information about the Binutils mailing list