2011-03-25 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Fri, 25 Mar 2011 15:39:03 +0000 (15:39 +0000)
committerTristan Gingold <gingold@adacore.com>
Fri, 25 Mar 2011 15:39:03 +0000 (15:39 +0000)
* vms-alpha.c (_bfd_vms_find_nearest_dst_line): Allow the use
of find_nearest_line on object files.

bfd/ChangeLog
bfd/vms-alpha.c

index 33580ed5507b374407b3f1145e55dbf59c471dd0..d9467c8d780d3df846e5b7b2ce751e1064c70dd0 100644 (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.
index adc8508cdc966f02875bfb0d0cfd76a5788b534e..c0ba3c46d81be436767a292c2dfec7eb5c0f7cf0 100644 (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)
This page took 0.028451 seconds and 4 git commands to generate.