bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/23428] ld does not put program headers in a code-only load segme


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/23428] ld does not put program headers in a code-only load segment
Date: Mon, 08 Oct 2018 12:15:25 +0000

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

--- Comment #22 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:

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

commit 80f3ac5d61a5d01d7cf951de0e24ecdc71c545cb
Author: H.J. Lu <address@hidden>
Date:   Mon Oct 8 05:14:02 2018 -0700

    x86: Don't add GNU_PROPERTY_X86_FEATURE_2_NEEDED for -z separate-code

    With

    commit 64029e93683a266c38d19789e780f3748bd6a188
    Author: Alan Modra <address@hidden>
    Date:   Fri Oct 5 11:40:54 2018 +0930

        Separate header PT_LOAD for -z separate-code

    there is no need to add a GNU_PROPERTY_X86_ISA_1_USED note to force
    program header in in non-code PT_LOAD segment when -z separate-code
    is used.

    bfd/

        PR ld/23428
        * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Don't
        add GNU_PROPERTY_X86_FEATURE_2_NEEDED to force program header
        in non-code PT_LOAD segment.

    ld/

        PR ld/23428
        * testsuite/ld-i386/property-x86-4a.d: Updated.
        * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
        * testsuite/ld-x86-64/property-x86-4a.d: Likewise.

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