aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-22 03:49:59 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-22 03:49:59 +0000
commit380fa957e5d313c78f638e9fbce76432a81f87f4 (patch)
tree130178fa8c88fd5a296822f986051160d123b06f /gas
parent9d90491e82ebbeb1edd55213c5ed5e63f71af8d1 (diff)
downloadfsf-binutils-gdb-380fa957e5d313c78f638e9fbce76432a81f87f4.zip
fsf-binutils-gdb-380fa957e5d313c78f638e9fbce76432a81f87f4.tar.gz
fsf-binutils-gdb-380fa957e5d313c78f638e9fbce76432a81f87f4.tar.bz2
* config/obj-coffbfd.c (write_object_file): use bfd_get_error (),
not bfd_error. * config/obj-elf.c (elf_frob_file): Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/obj-coffbfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/obj-coffbfd.c b/gas/config/obj-coffbfd.c
index c405343..c659feb 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;