mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
PR ld/14052
PR ld/13621 bfd/ * linker.c (_bfd_nearby_section): Revert 2012-02-13 change. ld/testsuite/ * ld-elf/warn2.d: Revert 2012-02-13 change. * ld-elf/zerosize1.d, ld-elf/zerosize1.s: Delete.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user