]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/file-find.c
2013-06-19 Matthias Klose <doko@ubuntu.com>
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Jun 2013 21:01:06 +0000 (21:01 +0000)
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Jun 2013 21:01:06 +0000 (21:01 +0000)
commit0dc1ebca5751c076a9ea07a7e6d6e8428bdbe73b
tree8f4628b585dfd1bbf58b2333cd36b27d3654d463
parentb6c75192521f22b4adc19304469c351cd2620012
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200219 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/collect2.c
gcc/file-find.c
gcc/file-find.h
gcc/gcc-ar.c