aboutsummaryrefslogtreecommitdiff
path: root/bfd/ecoff.c
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/ecoff.c
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/ecoff.c')
-rw-r--r--bfd/ecoff.c2
1 files changed, 1 insertions, 1 deletions
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
{