]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR25585, PHDR segment not covered by LOAD segment
authorAlan Modra <amodra@gmail.com>
Sat, 22 Feb 2020 02:16:33 +0000 (12:46 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 22 Feb 2020 02:40:31 +0000 (13:10 +1030)
commitacc4a8b8ac83077819948126bc7501d35eb1ea74
treec527412a15dab502ba9b4e3e4c69b818ca6759b3
parente4c9402701ee1b8007b5f9fa22e3ad3620e2ca54
PR25585, PHDR segment not covered by LOAD segment

I closed this bug as invalid, but I think it is worth mentioning in NEWS
that older linkers didn't check PT_PHDR very well.  The patch also allows
people to force an output file with --noinhibit-exec after the error.

bfd/
PR 25585
* elf.c (assign_file_positions_for_load_sections): Continue linking
on "PHDR segment not covered by LOAD segment" errors.
ld/
PR 25585
* NEWS: Mention better "PHDR segment not covered by LOAD segment"
checking.

(cherry picked from commit 7b3c27152b5695177a2cd5adc0d7b0255f99aca0)
bfd/ChangeLog
bfd/elf.c
ld/ChangeLog
ld/NEWS