aboutsummaryrefslogtreecommitdiff
path: root/bfd/archive.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-12-30 20:49:21 +0000
committerIan Lance Taylor <ian@airs.com>1992-12-30 20:49:21 +0000
commit7b4eaa0ee6c0e12d295ec9b4416f65c3867e7385 (patch)
tree8f3a88edc8b11d919ecbe67f818da5f89ec84250 /bfd/archive.c
parent85825401dc523061be3cb0df3a281a2be31e3402 (diff)
downloadgdb-7b4eaa0ee6c0e12d295ec9b4416f65c3867e7385.zip
gdb-7b4eaa0ee6c0e12d295ec9b4416f65c3867e7385.tar.gz
gdb-7b4eaa0ee6c0e12d295ec9b4416f65c3867e7385.tar.bz2
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).
Diffstat (limited to 'bfd/archive.c')
-rw-r--r--bfd/archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/archive.c b/bfd/archive.c
index a9bb469..4f22658 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;