diff options
author | Alan Modra <amodra@gmail.com> | 2022-07-07 19:56:10 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-07-09 21:20:31 +0930 |
commit | 07e64e0b7c6cd4a73220eb57588d0db6b2a192e3 (patch) | |
tree | b21fcb73f362e326904533bdbfa648bb9dce50b3 /gas/as.h | |
parent | c30081c1f955a9fea2da8988bab96191e3d2171e (diff) | |
download | binutils-07e64e0b7c6cd4a73220eb57588d0db6b2a192e3.zip binutils-07e64e0b7c6cd4a73220eb57588d0db6b2a192e3.tar.gz binutils-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |