[PATCH] x86: Properly merge GNU_PROPERTY_X86_FEATURE_1_[IBT|SHSTK]

H.J. Lu hjl.tools@gmail.com
Wed Mar 13 06:37:00 GMT 2019


On Wed, Mar 13, 2019 at 11:03 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> Properly merge GNU_PROPERTY_X86_FEATURE_1_IBT and
> GNU_PROPERTY_X86_FEATURE_1_SHSTK from -z ibt and -z shstk.
>
> 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 test.
>         * testsuite/ld-x86-64/x86-64.exp: Likewise.
>         * testsuite/ld-i386/pr24322.d: New file.
>         * testsuite/ld-x86-64/pr24322-x32.d: Likewise.
>         * testsuite/ld-x86-64/pr24322.d: Likewise.
>         * testsuite/ld-x86-64/pr24322a.s: Likewise.
>         * testsuite/ld-x86-64/pr24322b.s: Likewise.

This is what I checked in.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Properly-set-IBT-and-SHSTK-properties-for-z-ibt-.patch
Type: text/x-patch
Size: 9379 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20190313/5f3b4eaf/attachment.bin>


More information about the Binutils mailing list