daily update
[deliverable/binutils-gdb.git] / gas / write.c
index 5f10bad2230d674f4ee5ec5379aee1b9a0f684c9..a5d2b4d58da48ae321b17876a2adb32cd918d1af 100644 (file)
@@ -1565,7 +1565,9 @@ write_contents (bfd *abfd ATTRIBUTE_UNUSED,
                    (stdoutput, sec, buf, (file_ptr) offset,
                     (bfd_size_type) n_per_buf * fill_size);
                  if (!x)
-                   as_fatal (_("cannot write to output file"));
+                   as_fatal (_("cannot write to output file '%s': %s"),
+                             stdoutput->filename,
+                             bfd_errmsg (bfd_get_error ()));
                  offset += n_per_buf * fill_size;
                }
            }
This page took 0.022936 seconds and 4 git commands to generate.