aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-07-07 19:56:10 +0930
committerAlan Modra <amodra@gmail.com>2022-07-09 21:20:31 +0930
commit07e64e0b7c6cd4a73220eb57588d0db6b2a192e3 (patch)
treeb21fcb73f362e326904533bdbfa648bb9dce50b3 /gas/as.h
parentc30081c1f955a9fea2da8988bab96191e3d2171e (diff)
downloadgdb-07e64e0b7c6cd4a73220eb57588d0db6b2a192e3.zip
gdb-07e64e0b7c6cd4a73220eb57588d0db6b2a192e3.tar.gz
gdb-07e64e0b7c6cd4a73220eb57588d0db6b2a192e3.tar.bz2
gas: output_file_close
This is mostly a tidy with the aim of being able to free out_file_name, but it does fix a possible attempt to unlink the output file twice (not that that matters). * as.h (keep_it): New global. * as.c (keep_it): Delete. (close_output_file): Delete, merged into.. * output-file.c (output_file_close): ..here. Delete parameter. * output-file.h (output_file_close): Update prototype.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/as.h b/gas/as.h
index 0ee3873..d179537 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -340,6 +340,9 @@ COMMON int flag_noexecstack;
/* name of emitted object file */
COMMON const char *out_file_name;
+/* Keep the output file. */
+COMMON int keep_it;
+
/* name of file defining extensions to the basic instruction set */
COMMON char *insttbl_file_name;