aboutsummaryrefslogtreecommitdiff
path: root/bfd/linker.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/linker.c')
-rw-r--r--bfd/linker.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/bfd/linker.c b/bfd/linker.c
index fccca0d..3caec96 100644
--- a/bfd/linker.c
+++ b/bfd/linker.c
@@ -3198,11 +3198,6 @@ _bfd_nearby_section (bfd *obfd, asection *s, bfd_vma addr)
best = prev;
}
- /* Refuse to choose a section for which we are out of bounds. */
- /* ??? This may make most of the above moot. */
- if (addr < best->vma || addr > best->vma + best->size)
- best = bfd_abs_section_ptr;
-
return best;
}