Wed Dec 30 12:46:30 1992 Ian Lance Taylor (ian@cygnus.com)
authorIan Lance Taylor <ian@airs.com>
Wed, 30 Dec 1992 20:49:21 +0000 (20:49 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 30 Dec 1992 20:49:21 +0000 (20:49 +0000)
* archive.c (do_slurp_coff_armap): set symdef_count correctly
(it broke a couple of weeks ago).

bfd/ChangeLog
bfd/archive.c

index 6a17ba41f3b9f06e8b026f4de0dcea3d0e1f8d33..330039fc92eec31c9a2ba087951de332d8ae4c15 100644 (file)
@@ -1,3 +1,8 @@
+Wed Dec 30 12:46:30 1992  Ian Lance Taylor  (ian@cygnus.com)
+
+       * archive.c (do_slurp_coff_armap): set symdef_count correctly
+       (it broke a couple of weeks ago).
+
 Tue Dec 29 21:41:05 1992  Ken Raeburn  (raeburn@cambridge.cygnus.com)
 
        * elf.c (bfd_elf_find_section): Switch back to "struct ..." for
index a9bb469c81b8a1008b4d9e2093ec3ce37892b53c..4f22658dc8edad1c4f5b5403f6bb1e07b227a3db 100644 (file)
@@ -701,7 +701,7 @@ do_slurp_coff_armap (abfd)
   }
   *stringbase = 0;
 
-  ardata->symdef_count = swap((PTR)raw_armap);
+  ardata->symdef_count = nsymz;
   ardata->first_file_filepos = bfd_tell (abfd);
   /* Pad to an even boundary if you have to */
   ardata->first_file_filepos += (ardata->first_file_filepos) %2;