* ecoff.c (_bfd_ecoff_find_nearest_line): If we allocate

find_line_info, clear the fdrtab field.
This commit is contained in:
Ian Lance Taylor 1995-07-03 22:41:51 +00:00
parent 9fd10c34d0
commit 3a6eecd42f
2 changed files with 4 additions and 0 deletions

View 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.

View 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;