[committed, PATCH] Skip PR binutils/23494 tests for nacl targets

H.J. Lu hjl.tools@gmail.com
Fri Aug 10 14:57:00 GMT 2018


On Wed, Aug 8, 2018 at 8:58 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Wed, Aug 8, 2018 at 8:21 PM, Alan Modra <amodra@gmail.com> wrote:
>> On Wed, Aug 08, 2018 at 07:24:33PM -0700, H.J. Lu wrote:
>>> --- a/bfd/bfd.c
>>> +++ b/bfd/bfd.c
>>> @@ -2483,6 +2483,10 @@ bfd_convert_section_size (bfd *ibfd, sec_ptr isec, bfd *obfd,
>>>        == get_elf_backend_data (obfd)->s->elfclass)
>>>      return size;
>>>
>>> +  /* Convert GNU property size.  */
>>> +  if (CONST_STRNEQ (isec->name, NOTE_GNU_PROPERTY_SECTION_NAME))
>>> +    return _bfd_elf_convert_gnu_property_size (ibfd, obfd);
>>> +
>>>    /* Do nothing if the input section isn't a SHF_COMPRESSED section. */
>>>    hdr_size = bfd_get_compression_header_size (ibfd, isec);
>>>    if (hdr_size == 0)
>>
>> I suspect this conversion shouldn't depend on the earlier
>> BFD_DECOMPRESS test, and similarly for convert_section_contents.
>> OK with that fixed.
>>
>
> You are right.  I am checking in this updated patch with a new testcase.
>
> Thanks.
>

I checked in this patch to skip PR binutils/23494 tests for nacl targets.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Skip-PR-binutils-23494-tests-for-nacl-targets.patch
Type: text/x-patch
Size: 5915 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180810/dd22490a/attachment.bin>


More information about the Binutils mailing list