From 3a6eecd42f626f171e1f597a682fbe45a83f564d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 3 Jul 1995 22:41:51 +0000 Subject: [PATCH] * ecoff.c (_bfd_ecoff_find_nearest_line): If we allocate find_line_info, clear the fdrtab field. --- bfd/ChangeLog | 3 +++ bfd/ecoff.c | 1 + 2 files changed, 4 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0fb0e2a173..cfb81a5043 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -7,6 +7,9 @@ Mon Jul 3 13:55:18 1995 Steve Chamberlain Mon Jul 3 11:30:45 1995 Ian Lance Taylor + * ecoff.c (_bfd_ecoff_find_nearest_line): If we allocate + find_line_info, clear the fdrtab field. + * targets.c (enum bfd_flavour): Add bfd_target_msdos_flavour here, rather than in bfd-in2.h. diff --git a/bfd/ecoff.c b/bfd/ecoff.c index 8d6769740a..e98ac21c01 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -1852,6 +1852,7 @@ _bfd_ecoff_find_nearest_line (abfd, section, ignore_symbols, offset, bfd_set_error (bfd_error_no_memory); return false; } + ecoff_data (abfd)->find_line_info->fdrtab = NULL; } line_info = ecoff_data (abfd)->find_line_info;