2011-03-25 Tristan Gingold <gingold@adacore.com>

* vms-alpha.c (_bfd_vms_find_nearest_dst_line): Allow the use
	of find_nearest_line on object files.
This commit is contained in:
Tristan Gingold 2011-03-25 15:39:03 +00:00
parent cf6b876738
commit a283ff9345
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-03-25 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (_bfd_vms_find_nearest_dst_line): Allow the use
of find_nearest_line on object files.
2011-03-25 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (evax_section_flags): Make $CODE$ section read-only.

View File

@ -4710,7 +4710,7 @@ _bfd_vms_find_nearest_dst_line (bfd *abfd, asection *section,
*func = NULL;
*line = 0;
if (PRIV (dst_section) == NULL || !(abfd->flags & (EXEC_P | DYNAMIC)))
if (PRIV (dst_section) == NULL)
return FALSE;
if (PRIV (modules) == NULL)