gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gas / output-file.c
index f2db85f0cd26e2624e30dc895936781e397e4465..573598101c33ffe9adebf30b21b1e27e8424ad68 100644 (file)
@@ -1,5 +1,5 @@
 /* output-file.c -  Deal with the output file
-   Copyright (C) 1987-2016 Free Software Foundation, Inc.
+   Copyright (C) 1987-2020 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -58,7 +58,7 @@ output_file_close (const char *filename)
     return;
 
   /* Close the bfd.  */
-  if (had_errors ())
+  if (!flag_always_generate_output && had_errors ())
     res = bfd_cache_close_all ();
   else
     res = bfd_close (stdoutput);
This page took 0.024173 seconds and 4 git commands to generate.