* ecoff.c (_bfd_ecoff_find_nearest_line): If we allocate
authorIan Lance Taylor <ian@airs.com>
Mon, 3 Jul 1995 22:41:51 +0000 (22:41 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 3 Jul 1995 22:41:51 +0000 (22:41 +0000)
find_line_info, clear the fdrtab field.

bfd/ChangeLog
bfd/ecoff.c

index 0fb0e2a173e6df5924818fa2f3fe688bee75a74f..cfb81a504375341a5eaa00368b3ee621814ea835 100644 (file)
@@ -7,6 +7,9 @@ Mon Jul  3 13:55:18 1995  Steve Chamberlain  <sac@slash.cygnus.com>
 
 Mon Jul  3 11:30:45 1995  Ian Lance Taylor  <ian@cygnus.com>
 
+       * 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.
 
index 8d6769740a65945903e439c73ce7a6e871ae91fb..e98ac21c01e534f5105bc5bac62668912cfa15ce 100644 (file)
@@ -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;