From: Ian Lance Taylor Date: Tue, 22 Feb 1994 03:49:59 +0000 (+0000) Subject: * config/obj-coffbfd.c (write_object_file): use bfd_get_error (), X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=380fa957e5d313c78f638e9fbce76432a81f87f4;p=binutils-gdb.git * config/obj-coffbfd.c (write_object_file): use bfd_get_error (), not bfd_error. * config/obj-elf.c (elf_frob_file): Likewise. --- diff --git a/gas/config/obj-coffbfd.c b/gas/config/obj-coffbfd.c index c4053434a1f..c659feba94e 100644 --- a/gas/config/obj-coffbfd.c +++ b/gas/config/obj-coffbfd.c @@ -1939,7 +1939,7 @@ DEFUN_VOID (write_object_file) go is up to Ken.. */ if (bfd_close_all_done (abfd) == false) as_fatal ("Can't close %s: %s", out_file_name, - bfd_errmsg (bfd_error)); + bfd_errmsg (bfd_get_error ())); #else { extern bfd *stdoutput;