[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/23372] Empty GNU_PROPERTY_X86_ISA_1_NEEDED/GNU_PROPERTY_X86_ISA_
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/23372] Empty GNU_PROPERTY_X86_ISA_1_NEEDED/GNU_PROPERTY_X86_ISA_1_USED aren't removed |
Date: |
Tue, 04 Dec 2018 14:09:20 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23372
--- Comment #5 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=fde51dd189a1f8a63896bcb845ef36ea5e1917d5
commit fde51dd189a1f8a63896bcb845ef36ea5e1917d5
Author: H.J. Lu <address@hidden>
Date: Tue Dec 4 06:00:57 2018 -0800
x86: Don't remove empty GNU_PROPERTY_X86_UINT32_OR_AND properties
For GNU_PROPERTY_X86_COMPAT_ISA_1_USED and GNU_PROPERTY_X86_UINT32_OR_AND
properties, a bit in the output pr_data field is set if it is set in any
relocatable input pr_data fields and this property is present in all
relocatable input files. A missing property implies that its bits have
unknown values. When all bits in the the output pr_data field are zero,
this property should not be removed from output to indicate it has zero
in all bits.
bfd/
PR ld/23372
* elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Don't remove
empty properties for GNU_PROPERTY_X86_COMPAT_ISA_1_USED and
GNU_PROPERTY_X86_UINT32_OR_AND.
(_bfd_x86_elf_link_fixup_gnu_properties): Likewise.
ld/
PR ld/23372
* testsuite/ld-i386/pr23372a.d: Updated.
* testsuite/ld-i386/pr23372c.d: Likewise.
* testsuite/ld-x86-64/pr23372a-x32.d: Likewise.
* testsuite/ld-x86-64/pr23372a.d: Likewise.
* testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
* testsuite/ld-x86-64/pr23372c.d: Likewise.
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/23372] Empty GNU_PROPERTY_X86_ISA_1_NEEDED/GNU_PROPERTY_X86_ISA_1_USED aren't removed,
cvs-commit at gcc dot gnu.org <=