diff options
author | Alan Modra <amodra@gmail.com> | 2012-05-05 04:51:16 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-05-05 04:51:16 +0000 |
commit | 62ab84ece44dbf1bcf86957a969635d2e513ae6a (patch) | |
tree | 35335611859112cdc973eb025e00b21d7f3dbf04 /bfd/linker.c | |
parent | 36ab465def3db4cb42a84f6403e33de9e7ec40e2 (diff) | |
download | gdb-62ab84ece44dbf1bcf86957a969635d2e513ae6a.zip gdb-62ab84ece44dbf1bcf86957a969635d2e513ae6a.tar.gz gdb-62ab84ece44dbf1bcf86957a969635d2e513ae6a.tar.bz2 |
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.
Diffstat (limited to 'bfd/linker.c')
-rw-r--r-- | bfd/linker.c | 5 |
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; } |