[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/26711] -z ibt and -z shstk are mishandled
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/26711] -z ibt and -z shstk are mishandled |
Date: |
Wed, 07 Oct 2020 13:57:35 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26711
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The binutils-2_34-branch branch has been updated by H.J. Lu
<hjl@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5c1bd3f52c69d00f56f9cb71737396c2651e508d
commit 5c1bd3f52c69d00f56f9cb71737396c2651e508d
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Oct 6 15:38:23 2020 -0700
x86: Properly merge -z ibt and -z shstk
Merge -z ibt and -z shstk only with GNU_PROPERTY_X86_FEATURE_1_AND, not
any GNU_PROPERTY_X86_UINT32_AND_XXX properties.
bfd/
PR ld/26711
* elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Merge -z ibt
and -z shstk only with GNU_PROPERTY_X86_FEATURE_1_AND.
ld/
PR ld/26711
* testsuite/ld-i386/i386.exp: Run ld/26711 tests.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
* testsuite/ld-i386/pr26711-1.d: Likewise.
* testsuite/ld-i386/pr26711-2.d: Likewise.
* testsuite/ld-i386/pr26711-3.d: Likewise.
* testsuite/ld-x86-64/pr26711-1-x32.d: Likewise.
* testsuite/ld-x86-64/pr26711-1.d: Likewise.
* testsuite/ld-x86-64/pr26711-2-x32.d: Likewise.
* testsuite/ld-x86-64/pr26711-2.d: Likewise.
* testsuite/ld-x86-64/pr26711-3-x32.d: Likewise.
* testsuite/ld-x86-64/pr26711-3.d: Likewise.
* testsuite/ld-x86-64/pr26711.s: Likewise.
(cherry picked from commit 574df58f5295ef2728526e6a73b5f429b05f2a8c)
--
You are receiving this mail because:
You are on the CC list for the bug.