aboutsummaryrefslogtreecommitdiff
path: root/gcc/file-find.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2014-09-01 16:41:17 +0000
committerAndi Kleen <ak@gcc.gnu.org>2014-09-01 16:41:17 +0000
commitb5617e5f69bdd5ad7a3da9b34d1871fb2aff940a (patch)
tree002ff8316f4430d4d2d699fc668daaa5256ff01a /gcc/file-find.h
parentfc4f981d25a2b03e6c15303d531c272689c71187 (diff)
downloadgcc-b5617e5f69bdd5ad7a3da9b34d1871fb2aff940a.zip
gcc-b5617e5f69bdd5ad7a3da9b34d1871fb2aff940a.tar.gz
gcc-b5617e5f69bdd5ad7a3da9b34d1871fb2aff940a.tar.bz2
Add -B support to gcc-ar/ranlib/nm
To use gcc-{ar,ranlib} for boot strap we need to add a -B option to the tool. Since ar has weird and unusual argument conventions implement the code by hand instead of using any libraries. gcc/: 2014-09-01 Andi Kleen <ak@linux.intel.com> * file-find.c (add_prefix_begin): Add. (do_add_prefix): Rename from add_prefix with first argument. (add_prefix): Add new wrapper. * file-find.h (add_prefix_begin): Add. * gcc-ar.c (main): Support -B option. From-SVN: r214800
Diffstat (limited to 'gcc/file-find.h')
-rw-r--r--gcc/file-find.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/file-find.h b/gcc/file-find.h
index b438056..0754d99 100644
--- a/gcc/file-find.h
+++ b/gcc/file-find.h
@@ -40,6 +40,7 @@ struct path_prefix
extern void find_file_set_debug (bool);
extern char *find_a_file (struct path_prefix *, const char *, int);
extern void add_prefix (struct path_prefix *, const char *);
+extern void add_prefix_begin (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 *);