* 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 218b8e195c429fd911b641d0f42d4c24769369cb..c8ba00c58cb2ff04036f728df480a5d0aba658dc 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 84ae59b4c8a68ead119739f066ffab148318b0eb..3303c96c304a5b00703d57d1fadb818a272bf8c5 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
   {