From: doko Date: Sun, 18 Apr 2010 17:44:42 +0000 (+0000) Subject: 2010-04-18 Matthias Klose X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9f6abc1cfff767ccf5f3247d99b94e1f072d9a1;p=thirdparty%2Fgcc.git 2010-04-18 Matthias Klose * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f88ff216565b..024b7e66c1ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-04-18 Matthias Klose + + * gcc.c (main): Search for liblto_plugin.so with mode R_OK. + 2010-04-18 Ira Rosen PR tree-optimization/43771 diff --git a/gcc/gcc.c b/gcc/gcc.c index d2190533796f..a25077e24f76 100644 --- 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");