* 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 0fb0e2a..cfb81a5 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 8d67697..e98ac21 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;