* archive.c (bfd_generic_archive_p): If a slurp subroutine returns
authorIan Lance Taylor <ian@airs.com>
Thu, 16 Apr 1998 22:37:40 +0000 (22:37 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 16 Apr 1998 22:37:40 +0000 (22:37 +0000)
  an error other than bfd_error_system_call, set the error to
  bfd_error_wrong_format.

bfd/ChangeLog

index 1432d39335067ef284a5edba2a32efb5a569dfa0..a5556f51229eca454074b0a3d2399470680e0cbf 100644 (file)
@@ -5,6 +5,10 @@ Thu Apr 16 13:49:00 1998  Richard Henderson  <rth@cygnus.com>
 
 Thu Apr 16 11:43:33 1998  Ian Lance Taylor  <ian@cygnus.com>
 
+       * archive.c (bfd_generic_archive_p): If a slurp subroutine returns
+       an error other than bfd_error_system_call, set the error to
+       bfd_error_wrong_format.
+
        * targets.c (bfd_target_vector) [SELECT_VECS not defined]: Add
        bfd_elf32_powerpcle_vec.