summaryrefslogtreecommitdiff
path: root/gcc/file-find.h
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2013-06-19 21:01:06 +0000
committerMatthias Klose <doko@gcc.gnu.org>2013-06-19 21:01:06 +0000
commita09f1a766b297f1e248c86b3d2795c1501a506ef (patch)
tree8f4628b585dfd1bbf58b2333cd36b27d3654d463 /gcc/file-find.h
parent7d18b0ad768f4b8e4126cda2ce0a3f1f5a0ddd29 (diff)
re PR driver/57651 (gcc-ar and gcc-nm don't find the lto plugin)
2013-06-19 Matthias Klose <doko@ubuntu.com> PR driver/57651 * file-find.h (find_a_file): Add a mode parameter. * file-find.c (find_a_file): Likewise. * gcc-ar.c (main): Call find_a_file with R_OK for the plugin, with X_OK for the executables. * collect2.c (main): Call find_a_file with X_OK. From-SVN: r200219
Diffstat (limited to 'gcc/file-find.h')
-rw-r--r--gcc/file-find.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/file-find.h b/gcc/file-find.h
index 0cbf8d19d09..43a2d3f28ec 100644
--- a/gcc/file-find.h
+++ b/gcc/file-find.h
@@ -38,7 +38,7 @@ struct path_prefix
};
extern void find_file_set_debug (bool);
-extern char *find_a_file (struct path_prefix *, const char *);
+extern char *find_a_file (struct path_prefix *, const char *, int);
extern void add_prefix (struct path_prefix *, const char *);
extern void prefix_from_env (const char *, struct path_prefix *);
extern void prefix_from_string (const char *, struct path_prefix *);