bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22845] -z separate-code doesn't work right


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/22845] -z separate-code doesn't work right
Date: Mon, 19 Feb 2018 03:23:19 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22845

--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dbc88fc14992c556b94e77de563a8f7abcb0b653

commit dbc88fc14992c556b94e77de563a8f7abcb0b653
Author: Alan Modra <address@hidden>
Date:   Mon Feb 19 09:52:53 2018 +1030

    PT_LOAD and PT_GNU_RELRO segment overlap

    Commit 325ba6fb34 excluded degenerate zero length PT_LOAD segments,
    but that only fixed part of the problem, which was that the load
    segment limits were not calculated properly.

        PR 22845
        * elf.c (IS_TBSS): Define.
        (_bfd_elf_map_sections_to_segments): Use IS_TBSS.
        (assign_file_positions_for_non_load_sections): Revert last change.
        Properly calculate load segment limits to compare against relro limits.

-- 
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]