From a283ff9345ad55bdb2c65fd8eb2add63ffa60dac Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 25 Mar 2011 15:39:03 +0000 Subject: [PATCH] 2011-03-25 Tristan Gingold * vms-alpha.c (_bfd_vms_find_nearest_dst_line): Allow the use of find_nearest_line on object files. --- bfd/ChangeLog | 5 +++++ bfd/vms-alpha.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 33580ed5507..d9467c8d780 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2011-03-25 Tristan Gingold + + * vms-alpha.c (_bfd_vms_find_nearest_dst_line): Allow the use + of find_nearest_line on object files. + 2011-03-25 Tristan Gingold * vms-alpha.c (evax_section_flags): Make $CODE$ section read-only. diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index adc8508cdc9..c0ba3c46d81 100644 --- a/bfd/vms-alpha.c +++ b/bfd/vms-alpha.c @@ -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) -- 2.30.2