[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/16322] ld fails to generate GNU_RELRO segment

From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/16322] ld fails to generate GNU_RELRO segment
Date: Fri, 10 Jan 2014 11:21:04 +0000


--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  eec2f3ed9f053653ed5d629eb50e08e3ee61e9bd (commit)
      from  a2cd8cfed14491303eb8338f90e206034c5a3fe2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit eec2f3ed9f053653ed5d629eb50e08e3ee61e9bd
Author: Alan Modra <address@hidden>
Date:   Fri Jan 10 21:11:46 2014 +1030

    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
        * 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.
        * ldlang.c (lang_size_sections): Remove unneeded RELRO base
        adjust.  Tidy comments.
        * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
        * ld-x86-64/pr14207.d: Adjust


Summary of changes:
 bfd/ChangeLog                    |   10 ++++++++++
 bfd/elf.c                        |   37 -------------------------------------
 ld/ChangeLog                     |    9 +++++++++
 ld/ld.texinfo                    |    6 ++++--
 ld/ldlang.c                      |   21 +++++++++------------
 ld/testsuite/ChangeLog           |    4 ++++
 ld/testsuite/ld-x86-64/pr14207.d |    2 +-
 7 files changed, 37 insertions(+), 52 deletions(-)

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]