From: doko Date: Wed, 9 May 2012 16:00:58 +0000 (+0000) Subject: 2012-05-09 Matthias Klose X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ad03cbf3117511c7e53d97166fe50ce0a3feef4;p=thirdparty%2Fgcc.git 2012-05-09 Matthias Klose * gcc-ar.c (main): Don't check for execute bits for the plugin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187338 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 605ea10a98f7..237ae1c781ce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-05-09 Matthias Klose + + * gcc-ar.c (main): Don't check for execute bits for the plugin. + 2012-05-09 Ramana Radhakrishnan * tree-ssa-loop-ivopts.c (add_autoinc_candidates, get_address_cost): diff --git a/gcc/gcc-ar.c b/gcc/gcc-ar.c index d832b08c69ac..caae1670bf60 100644 --- a/gcc/gcc-ar.c +++ b/gcc/gcc-ar.c @@ -70,7 +70,7 @@ main(int ac, char **av) dir_separator, LTOPLUGINSONAME, NULL); - if (access (plugin, X_OK)) + if (access (plugin, R_OK)) { fprintf (stderr, "%s: Cannot find plugin %s\n", av[0], plugin); exit (1);