This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] x86: Don't remove empty x86 properties


On Mon, Nov 26, 2018 at 5:40 PM Cary Coutant <ccoutant@gmail.com> wrote:
>
> > Since empty x86 properties contain valid information, they shouldn't be
> > removed.
>
> Where is this documented? How is a property consisting of all zeroes
> different from a missing property?
>
> (I understand the difference for ISA_1_USED in relocatable objects --
> an input object missing this property kills the property for the
> output file -- but I can't find anything that says under what
> circumstances the output property section should contain a property
> with all zeroes.)

GNU_PROPERTY_X86_ISA_1_USED bits can be all zero when only
base x86 instructions are used.  Linker shouldn't remove properties
with zero bits.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]