From 3a5a9edc34b1d170c5f342f2eb2f3210a4252e55 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Fri, 18 May 2001 11:30:40 -0700 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/gcc.c | 4 ++-- gcc/gcc.h | 6 ++++++ 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 + + 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__ */ -- 2.7.4