From: Ian Lance Taylor Date: Wed, 30 Dec 1992 20:49:21 +0000 (+0000) Subject: Wed Dec 30 12:46:30 1992 Ian Lance Taylor (ian@cygnus.com) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b4eaa0ee6c0e12d295ec9b4416f65c3867e7385;p=binutils-gdb.git 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). --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6a17ba41f3b..330039fc92e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/archive.c b/bfd/archive.c index a9bb469c81b..4f22658dc8e 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -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;