gas: error for section type, attr, or entsize change
[deliverable/binutils-gdb.git] / gas / write.c
index d2bdb7acdf731aa343fb84f3a1dced524164f406..dfbbc7cb9bef22207a423881821e7d33e5585ddc 100644 (file)
@@ -1,5 +1,5 @@
 /* write.c - emit .o file
-   Copyright (C) 1986-2019 Free Software Foundation, Inc.
+   Copyright (C) 1986-2020 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -2429,7 +2429,7 @@ write_object_file (void)
 #endif
 
   /* Stop if there is an error.  */
-  if (had_errors ())
+  if (!flag_always_generate_output && had_errors ())
     return;
 
   /* Now that all the sizes are known, and contents correct, we can
This page took 0.022655 seconds and 4 git commands to generate.