* gcc-ar.c (main): Don't check for execute bits for the plugin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187339
138bc75d-0d04-0410-961f-
82ee72b054a4
+2012-05-09 Matthias Klose <doko@ubuntu.com>
+
+ * gcc-ar.c (main): Don't check for execute bits for the plugin.
+
2012-05-08 Hans-Peter Nilsson <hp@axis.com>
PR target/53272
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);