diff options
author | Alan Modra <amodra@gmail.com> | 2014-01-10 21:11:46 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-01-10 21:49:56 +1030 |
commit | eec2f3ed9f053653ed5d629eb50e08e3ee61e9bd (patch) | |
tree | 2a12dda58d04db24d58892f45db6eab16240bb00 /bfd/ChangeLog | |
parent | a2cd8cfed14491303eb8338f90e206034c5a3fe2 (diff) | |
download | gdb-eec2f3ed9f053653ed5d629eb50e08e3ee61e9bd.zip gdb-eec2f3ed9f053653ed5d629eb50e08e3ee61e9bd.tar.gz gdb-eec2f3ed9f053653ed5d629eb50e08e3ee61e9bd.tar.bz2 |
Don't adjust LOAD segment to match GNU_RELRO segment
Instead, fix Jakub's original code setting up the PR_GNU_RELRO header
from the PT_LOAD header.
PR ld/14207
PR ld/16322
PR binutils/16323
bfd/
* elf.c (assign_file_positions_for_load_sections): Revert last change.
(assign_file_positions_for_non_load_sections): When setting up
PT_GNU_RELRO header, don't require a corresponding PT_LOAD
header that completely covers the relro region.
ld/
* ldlang.c (lang_size_sections): Remove unneeded RELRO base
adjust. Tidy comments.
* ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
ld/testsuite/
* ld-x86-64/pr14207.d: Adjust
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 18f0f06..597bcf2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,13 @@ +2014-01-10 Alan Modra <amodra@gmail.com> + + PR ld/14207 + PR ld/16322 + PR binutils/16323 + * elf.c (assign_file_positions_for_load_sections): Revert last change. + (assign_file_positions_for_non_load_sections): When setting up + PT_GNU_RELRO header, don't require a corresponding PT_LOAD + header that completely covers the relro region. + 2014-01-09 Tristan Gingold <gingold@adacore.com> * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): use jump |