PR gas/11728
* as.c: Globalize keep_it.
(main): Remove keep_it. Move conditional from here...
(close_output_file): ...to here.
+2010-06-21 Sterling Augustine <sterling@tensilica.com>
+
+ PR gas/11728
+ * as.c: Globalize keep_it.
+ (main): Remove keep_it. Move conditional from here...
+ (close_output_file): ...to here.
+
2010-06-21 Andreas Schwab <schwab@redhat.com>
* doc/as.texinfo (Overview): Use @itemx for grouped @table
/* Enable verbose mode. */
int verbose = 0;
+/* Keep the output file. */
+int keep_it = 0;
+
segT reg_section;
segT expr_section;
segT text_section;
close_output_file (void)
{
output_file_close (out_file_name);
+ if (!keep_it)
+ unlink_if_ordinary (out_file_name);
}
/* The interface between the macro code and gas expression handling. */
char ** argv_orig = argv;
int macro_strip_at;
- int keep_it;
start_time = get_run_time ();
if (had_errors () > 0 && ! flag_always_generate_output)
keep_it = 0;
- if (!keep_it)
- unlink_if_ordinary (out_file_name);
-
input_scrub_end ();
END_PROGRESS (myname);