diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 605ea10a98f..237ae1c781c 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 d832b08c69a..caae1670bf6 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);