[PATCH] Prune BFD warnings for unknown GNU properties

H.J. Lu hjl.tools@gmail.com
Fri Aug 17 03:18:00 GMT 2018


On Thu, Aug 16, 2018 at 7:33 PM, Alan Modra <amodra@gmail.com> wrote:
> On Thu, Aug 16, 2018 at 09:48:10AM -0700, H.J. Lu wrote:
>> When glibc is enabled with the new GNU_PROPERTY_X86_XXX bits:
>>
>> https://groups.google.com/forum/#!topic/x86-64-abi/-D05GQ3kWrA
>>
>> BFD will issue an unknown GNU property warning like
>>
>> warning: tmpdir/ld1: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
>>
>> and ignore such GNU properties.  This patch adds prune_warnings_property
>> to prune such warnings.
>
> So why not recognize that particular property, handle it
> appropriately, and not warn?

It is OK for older binutils to ignore these new types.  You just don't
get new features
with older binutils.

I will add them to master branch.  And there may be new property types after
binutils 2.32 is released.  "make check" will fail on binutils 2.32
branch.  In fact,
"make check" fails on binutils 2.31 branch.

-- 
H.J.



More information about the Binutils mailing list