re PR driver/57651 (gcc-ar and gcc-nm don't find the lto plugin)
commita09f1a766b297f1e248c86b3d2795c1501a506ef
authorMatthias Klose <doko@ubuntu.com>
Wed, 19 Jun 2013 21:01:06 +0000 (19 21:01 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Wed, 19 Jun 2013 21:01:06 +0000 (19 21:01 +0000)
tree8f4628b585dfd1bbf58b2333cd36b27d3654d463
parent7d18b0ad768f4b8e4126cda2ce0a3f1f5a0ddd29
re PR driver/57651 (gcc-ar and gcc-nm don't find the lto plugin)

2013-06-19  Matthias Klose  <doko@ubuntu.com>

        PR driver/57651
        * file-find.h (find_a_file): Add a mode parameter.
        * file-find.c (find_a_file): Likewise.
        * gcc-ar.c (main): Call find_a_file with R_OK for the plugin,
        with X_OK for the executables.
        * collect2.c (main): Call find_a_file with X_OK.

From-SVN: r200219
gcc/ChangeLog
gcc/collect2.c
gcc/file-find.c
gcc/file-find.h
gcc/gcc-ar.c