Re: new ELF marking

From: Carlos O'Donell
Date: Wed Aug 09 2017 - 18:37:43 EST


On 08/09/2017 05:24 PM, H.J. Lu wrote:
> On Wed, Aug 9, 2017 at 1:32 PM, Kostya Serebryany <kcc@xxxxxxxxxx> wrote:
>>>>
>>>> I believe this would only be an output bit, but I'm not sure how it
>>>> would be wired into binutils. Kostya, do you know any details about
>>>> how AddressSanitizer might be able to create this ELF note?
>>
>> I don't, hopefully H.J's suggestion works.
>> Will it be backward compatible?
>> (i.e. will the binaries built in the new way work on the old kernels?)
>>
>>
>
> Yes, it is backward compatible by design.

... only as long as the semantics implied by the flags are hints that
can be ignored.

--
Cheers,
Carlos.