aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-08-09 18:32:39 +0000
committerIan Lance Taylor <ian@airs.com>1993-08-09 18:32:39 +0000
commit3036933a885339e5cbde00024ebe7eac10a26cf5 (patch)
tree9c8052b0bbad795cd8d540cdcd34982194ce1cbf /bfd
parentb992d16b88a4ab5b9030dea42b0da74849450477 (diff)
downloadgdb-3036933a885339e5cbde00024ebe7eac10a26cf5.zip
gdb-3036933a885339e5cbde00024ebe7eac10a26cf5.tar.gz
gdb-3036933a885339e5cbde00024ebe7eac10a26cf5.tar.bz2
* ecoff.c (ecoff_slurp_armap): Correct bug in initialization of
stringbase.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/ecoff.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 218b8e1..c8ba00c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index 84ae59b..3303c96 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -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
{