From 3036933a885339e5cbde00024ebe7eac10a26cf5 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 9 Aug 1993 18:32:39 +0000 Subject: [PATCH] * ecoff.c (ecoff_slurp_armap): Correct bug in initialization of stringbase. --- bfd/ChangeLog | 5 +++++ bfd/ecoff.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 { -- 2.7.4