bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24322] ld -z shstk sometimes sets IBT property even if -z ibt is


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/24322] ld -z shstk sometimes sets IBT property even if -z ibt is not passed
Date: Wed, 13 Mar 2019 06:39:30 +0000

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

--- Comment #3 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=44b27f959abf267fc9ec228f4131c932597b01d4

commit 44b27f959abf267fc9ec228f4131c932597b01d4
Author: H.J. Lu <address@hidden>
Date:   Wed Mar 13 14:38:15 2019 +0800

    x86: Properly set IBT and SHSTK properties for -z ibt/shstk

    There should be no AND properties if some input doesn't have them.  We
    should set IBT and SHSTK properties for -z ibt and -z shstk if needed.

    bfd/

        PR ld/24322
        * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Properly
        merge GNU_PROPERTY_X86_FEATURE_1_[IBT|SHSTK].

    ld/

        PR ld/24322
        * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
        * testsuite/ld-x86-64/x86-64.exp: Likewise.
        * testsuite/ld-i386/pr24322a.d: New file.
        * testsuite/ld-i386/pr24322b.d: Likewise.
        * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
        * testsuite/ld-x86-64/pr24322a.d: Likewise.
        * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
        * testsuite/ld-x86-64/pr24322b.d: Likewise.
        * testsuite/ld-x86-64/pr24322a.s: Likewise.
        * testsuite/ld-x86-64/pr24322b.s: Likewise.
        * testsuite/ld-x86-64/pr24322c.s: 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]