]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2010-04-18 Matthias Klose <doko@ubuntu.com>
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Apr 2010 17:44:42 +0000 (17:44 +0000)
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Apr 2010 17:44:42 +0000 (17:44 +0000)
        * gcc.c (main): Search for liblto_plugin.so with mode R_OK.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158494 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index f88ff216565baad7334c307989b0b19d250e696b..024b7e66c1ba038a1fac77bde7df02a997c402aa 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-18  Matthias Klose  <doko@ubuntu.com>
+
+       * gcc.c (main): Search for liblto_plugin.so with mode R_OK.
+
 2010-04-18 Ira Rosen <irar@il.ibm.com> 
 
        PR tree-optimization/43771
index d2190533796fae58263454c54e246633c4adeb91..a25077e24f76536b4c78858b1b829aa84472c3eb 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -7495,7 +7495,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"
                          fuse_linker_plugin + strlen (fuse_linker_plugin), 0))
        {
          linker_plugin_file_spec = find_a_file (&exec_prefixes,
-                                                "liblto_plugin.so", X_OK,
+                                                "liblto_plugin.so", R_OK,
                                                 false);
          if (!linker_plugin_file_spec)
            fatal ("-fuse-linker-plugin, but liblto_plugin.so not found");