* ecoff.c (ecoff_slurp_armap): Correct bug in initialization of
authorIan Lance Taylor <ian@airs.com>
Mon, 9 Aug 1993 18:32:39 +0000 (18:32 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 9 Aug 1993 18:32:39 +0000 (18:32 +0000)
stringbase.

bfd/ChangeLog
bfd/ecoff.c

index 218b8e1..c8ba00c 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug  9 11:29:53 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * ecoff.c (ecoff_slurp_armap): Correct bug in initialization of
+       stringbase.
+
 Sun Aug  8 12:21:13 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
 
        * configure.in: Remove unneeded test.
index 84ae59b..3303c96 100644 (file)
@@ -4002,7 +4002,7 @@ ecoff_slurp_armap (abfd)
   /* This code used to overlay the symdefs over the raw archive data,
      but that doesn't work on a 64 bit host.  */
 
-  stringbase = raw_ptr + count * (2 * LONG_SIZE) + LONG_SIZE;
+  stringbase = raw_armap + count * (2 * LONG_SIZE) + 2 * LONG_SIZE;
 
 #ifdef CHECK_ARMAP_HASH
   {