* config/obj-coffbfd.c (write_object_file): use bfd_get_error (),
authorIan Lance Taylor <ian@airs.com>
Tue, 22 Feb 1994 03:49:59 +0000 (03:49 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 22 Feb 1994 03:49:59 +0000 (03:49 +0000)
not bfd_error.
* config/obj-elf.c (elf_frob_file): Likewise.

gas/config/obj-coffbfd.c

index c4053434a1f9c2dd35a5debdef8d05c84c8fdb10..c659feba94e784756c6aacb47ffcad10632f94ab 100644 (file)
@@ -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;