summaryrefslogtreecommitdiff
path: root/bfd/vms-alpha.c
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
commit30bd3246028c3cb8a90eab3d234b43dde1111b32 (patch)
tree411eff5ca3a124b9d1e736e2d31fc1ac97474243 /bfd/vms-alpha.c
parent204a999c85628c1b4e61eba42e25df365ddca97b (diff)
downloadbinutils-redhat-30bd3246028c3cb8a90eab3d234b43dde1111b32.tar.gz
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/vms-alpha.c')
-rw-r--r--bfd/vms-alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
index adc8508cdc..c0ba3c46d8 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)