From ea67fe71ed59e9860eafb2c91b6f4b87d366e8d6 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Sun, 4 Aug 2002 16:21:02 +0000 Subject: 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 --- gcc/toplev.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/toplev.h') 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. */ -- cgit v1.1