* obj-coffbfd.c (write_object_file): check return value of
bfd_close_all_done.
+Fri Oct 23 14:40:38 1992 Ian Lance Taylor (ian@cygnus.com)
+
+ * obj-coffbfd.c (write_object_file): check return value of
+ bfd_close_all_done.
+
Tue Oct 20 13:02:25 1992 Ian Lance Taylor (ian@cygnus.com)
* Support for i386-sysv.
}
coff_header_append(abfd, &filehdr, &aouthdr);
- bfd_close_all_done(abfd);
+ if (bfd_close_all_done(abfd) == false)
+ as_fatal ("Can't close %s: %s", out_file_name,
+ bfd_errmsg (bfd_error));
}