This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ld: Check if GNU property note section exists
On Mon, Nov 27, 2017 at 3:18 AM, Nick Clifton <nickc@redhat.com> wrote:
> Hi H.J.
>
>> bfd/
>>
>> PR ld/22450
>> * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Call
>> linker callback if GNU property note section doesn't exist.
>>
>> ld/
>>
>> PR ld/22450
>> * testsuite/ld-elf/elf.exp: Run PR ld/22450 test.
>> * testsuite/ld-elf/pr22450.S: New file.
>> * testsuite/ld-elf/pr22450.err: Likewise.
>
> Approved - please apply.
>
> Cheers
> Nick
>
This patch has been superseded by
commit b77db948f4175e479bb3310ba86346c9554ab9f5
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Nov 20 15:32:55 2017 +0000
Fix handling of GNU Property notes that are not in a GNU NOTE
PROPERTY section.
PR 22450
gas * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Skip
objects without a GNU_PROPERTY note section when looking for a bfd
onto which notes can be accumulated.
ld * testsuite/ld-elf/elf.exp: Add --defsym ALIGN=2|3 to assembler
command line depending upon the size of the target address space.
* testsuite/ld-elf/pr22450.s: New test file.
* testsuite/ld-elf/pr22450.d: New test driver.
* testsuite/config/default.exp: Add note that LD_CLASS refers to
the size of the host linker not the size of the target linker.
--
H.J.