aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2002-08-04 16:21:02 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2002-08-04 16:21:02 +0000
commitea67fe71ed59e9860eafb2c91b6f4b87d366e8d6 (patch)
tree07c681d0f4e663e8dd4fd57fe86b3493b6eabc0f /gcc/toplev.h
parentb23c054d0b5ccb227380655d58e7c6a4644491c2 (diff)
downloadgcc-ea67fe71ed59e9860eafb2c91b6f4b87d366e8d6.zip
gcc-ea67fe71ed59e9860eafb2c91b6f4b87d366e8d6.tar.gz
gcc-ea67fe71ed59e9860eafb2c91b6f4b87d366e8d6.tar.bz2
gcc.c (cc1_options): Pass output file as auxbase when appropriate.
* gcc.c (cc1_options): Pass output file as auxbase when appropriate. * profile.c (init_branch_prob): FILENAME has already had ending stripped. * final.c (end_final): Likewise. * toplev.c (aux_base_name): New global. (compile_file): Pass aux_base_name to init init_branch_prob and end_final. (independent_decode_option, case 'a'): New auxinfo options. (case 'd'): Protect against mising basename. (do_compile): Initialize aux_base_name. * toplev.h (aux_base_name): New global. * doc/invoke.texi: Adjust documentation. From-SVN: r56025
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h
index aa7345b..2dab244 100644
--- a/gcc/toplev.h
+++ b/gcc/toplev.h
@@ -108,6 +108,8 @@ extern void check_global_declarations PARAMS ((union tree_node **, int));
extern const char *progname;
extern const char *dump_base_name;
+extern const char *aux_base_name;
+
extern int target_flags_explicit;
/* The hashtable, so that the C front ends can pass it to cpplib. */