summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-10-21 01:58:48 +0000
committerAlan Modra <amodra@gmail.com>2002-10-21 01:58:48 +0000
commit5fe39caef5ecbd0f21eee87f406cfb44a159c65e (patch)
tree2835061afa316150777ac06479fd3dc89e08fd3a
parentb0b05254fcab6c9d787bc5ce467d4a47e626d16c (diff)
downloadbinutils-gdb-5fe39caef5ecbd0f21eee87f406cfb44a159c65e.tar.gz
* archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace
perror with bfd_perror.
-rw-r--r--bfd/ChangeLog11
-rw-r--r--bfd/archive.c5
2 files changed, 10 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5ddc2ea8509..c56f0ece595 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-21 Elias Athanasopoulos <eathan@otenet.gr>
+
+ * archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace
+ perror with bfd_perror.
+
2002-10-19 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_add_object_symbols): Correctly handle
@@ -35,7 +40,7 @@
2002-10-16 Alan Modra <amodra@bigpond.net.au>
* Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo,
- elf32-i386-fbsd.lo, elf32-i386qnx.lo, elf32-ppcqnx.lo,
+ elf32-i386-fbsd.lo, elf32-i386qnx.lo, elf32-ppcqnx.lo,
elf32-sh-lin.lo, elf32-sh64-lin.lo, elf32-sh-nbsd.lo,
elf32-sh64-nbsd.lo, elf32-shqnx.lo. Add elf32-qnx.lo.
(BFD32_BACKENDS_CFILES): Likewise for corresponding C files.
@@ -270,8 +275,8 @@
* elf32-sh64-lin.c: New file.
* elf64-sh64-lin.c: New file.
* targets.c: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec,
- bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
-
+ bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
+
2002-10-08 H.J. Lu <hjl@gnu.org>
* elf32-i386.c (elf_i386_relocate_section): Re-arrange the
diff --git a/bfd/archive.c b/bfd/archive.c
index d7ac214c724..c2b1dda0a51 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -2082,7 +2082,7 @@ _bfd_archive_bsd_update_armap_timestamp (arch)
bfd_flush (arch);
if (bfd_stat (arch, &archstat) == -1)
{
- perror (_("Reading archive file mod timestamp"));
+ bfd_perror (_("Reading archive file mod timestamp"));
/* Can't read mod time for some reason. */
return true;
@@ -2108,8 +2108,7 @@ _bfd_archive_bsd_update_armap_timestamp (arch)
|| (bfd_bwrite (hdr.ar_date, (bfd_size_type) sizeof (hdr.ar_date), arch)
!= sizeof (hdr.ar_date)))
{
- /* FIXME: bfd can't call perror. */
- perror (_("Writing updated armap timestamp"));
+ bfd_perror (_("Writing updated armap timestamp"));
/* Some error while writing. */
return true;