This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFH: Annotating ELF binaries
> On 04 Nov 2016, at 16:22, Nick Clifton <nickc@redhat.com> wrote:
>
> Hi Tristan,
>
>>> https://fedoraproject.org/wiki/Toolchain/Watermark#Markup_for_ELF_objects
>
>> This will generalise attributes used by some architectures (ppc, arm), won't it ?
>
> Yes. Or at least it would if implemented as currently proposed. Maybe a better
> solution would be to only record attributes where they are not already covered by
> some target specific solution.
>
> Personally I would prefer a nice, generalised solution, but the current target
> specific attributes are mandated by the particular ABIs and so presumably are not
> going to go away.
It would be nice to have self-describing properties: a property is compatible only with the same value or with values less or equal, or (even better) within a range. So that a user can add properties without changing tools. That would work only for some properties however.