aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-03-25 15:39:03 +0000
committerTristan Gingold <gingold@adacore.com>2011-03-25 15:39:03 +0000
commita283ff9345ad55bdb2c65fd8eb2add63ffa60dac (patch)
tree84b7a54bb60754eafb522aa87fdb5a0fc0e63bba /bfd
parentcf6b8767381694e7548c77d7aa3297f991e26f44 (diff)
downloadgdb-a283ff9345ad55bdb2c65fd8eb2add63ffa60dac.zip
gdb-a283ff9345ad55bdb2c65fd8eb2add63ffa60dac.tar.gz
gdb-a283ff9345ad55bdb2c65fd8eb2add63ffa60dac.tar.bz2
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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/vms-alpha.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 33580ed..d9467c8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
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.
Minor reordering.
(alpha_vms_create_eisd_for_section): Make code sections read-only.
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
index adc8508..c0ba3c4 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)