aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2001-05-18 11:30:40 -0700
committerPer Bothner <bothner@gcc.gnu.org>2001-05-18 11:30:40 -0700
commit3a5a9edc34b1d170c5f342f2eb2f3210a4252e55 (patch)
treeade8cbb40ea184cc92c2c29d949375e0bad35a18 /gcc
parentc19814b6070c1a4f7daf4192851c516239da82c9 (diff)
downloadgcc-3a5a9edc34b1d170c5f342f2eb2f3210a4252e55.zip
gcc-3a5a9edc34b1d170c5f342f2eb2f3210a4252e55.tar.gz
gcc-3a5a9edc34b1d170c5f342f2eb2f3210a4252e55.tar.bz2
Changes needed for java/jvspec.c
Changes needed for java/jvspec.c * gcc.h (n_infiles, outfiles): Add declarations. * gcc.c (n_infiles, outfiles): Mske no longer static. From-SVN: r42269
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/gcc.c4
-rw-r--r--gcc/gcc.h6
3 files changed, 14 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 54bea55..3dfed4d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2001-05-18 Per Bothner <per@bothner.com>
+
+ Changes needed for java/jvspec.c
+ * gcc.h (n_infiles, outfiles): Add declarations.
+ * gcc.c (n_infiles, outfiles): Mske no longer static.
+
Fri May 18 10:14:42 2001 Jeffrey A Law (law@cygnus.com)
* config/pa/som.h (EXCEPTION_SECTION): Define.
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 7d99417..e613291 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2804,7 +2804,7 @@ struct infile
static struct infile *infiles;
-static int n_infiles;
+int n_infiles;
/* This counts the number of libraries added by lang_specific_driver, so that
we can tell if there were any user supplied any files or libraries. */
@@ -2813,7 +2813,7 @@ static int added_libraries;
/* And a vector of corresponding output files is made up later. */
-static const char **outfiles;
+const char **outfiles;
/* Used to track if none of the -B paths are used. */
static int warn_B;
diff --git a/gcc/gcc.h b/gcc/gcc.h
index 1c782c7..d92db45 100644
--- a/gcc/gcc.h
+++ b/gcc/gcc.h
@@ -42,7 +42,13 @@ extern void lang_specific_driver PARAMS ((int *, const char *const **, int *));
/* Called before linking. Returns 0 on success and -1 on failure. */
extern int lang_specific_pre_link PARAMS ((void));
+extern int n_infiles;
+
/* Number of extra output files that lang_specific_pre_link may generate. */
extern int lang_specific_extra_outfiles;
+/* A vector of corresponding output files is made up later. */
+
+extern const char **outfiles;
+
#endif /* ! __GCC_H__ */