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: Fri, 16 Feb 2018 23:46:58 +0000

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

--- Comment #5 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=325ba6fb34be799c885fad9287d883e86b835c84

commit 325ba6fb34be799c885fad9287d883e86b835c84
Author: Alan Modra <address@hidden>
Date:   Sat Feb 17 09:21:17 2018 +1030

    Ignore degenerate PT_LOAD segments

    Fixes a failure triggered by -z separate-code.  p_memsz is tested
    rather than p_filesz for objcopy --only-keep-debug where p_filesz is
    set to zero.

        PR 22845
        * elf.c (assign_file_positions_for_non_load_sections): Ignore
        degenerate zero size PT_LOAD segments when finding one overlapping
        the PT_GNU_RELRO segment.

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