]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2012-05-09 Matthias Klose <doko@ubuntu.com>
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 May 2012 16:00:58 +0000 (16:00 +0000)
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 May 2012 16:00:58 +0000 (16:00 +0000)
        * 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

gcc/ChangeLog
gcc/gcc-ar.c

index 605ea10a98f7a1886d95a6c4ae9d350c6b8e6314..237ae1c781ce5029bea0687cdd42ab074710cf2a 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-09  Matthias Klose  <doko@ubuntu.com>
+
+       * gcc-ar.c (main): Don't check for execute bits for the plugin.
+
 2012-05-09  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
 
        * tree-ssa-loop-ivopts.c (add_autoinc_candidates, get_address_cost):
index d832b08c69ac8e8537109311dacafb4b574d09b0..caae1670bf6012dd0c3231b45a05eac9903050ce 100644 (file)
@@ -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);