[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAN=P9pgnuYL=PzMFS+KYA173h8BdPZ4UDY4fGN6yvehSk0jhdA@mail.gmail.com>
Date: Wed, 9 Aug 2017 13:32:42 -0700
From: Kostya Serebryany <kcc@...gle.com>
To: "H.J. Lu" <hjl.tools@...il.com>
Cc: Kees Cook <keescook@...gle.com>,
LKML <linux-kernel@...r.kernel.org>,
Binutils <binutils@...rceware.org>
Subject: Re: new ELF marking
> >
> > 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?)
Thanks!
--kcc
>
>
> if it is an output only bit, "-z fobar" should work, like
>
> -z ibt Generate GNU_PROPERTY_X86_FEATURE_1_IBT
> -z shstk Generate GNU_PROPERTY_X86_FEATURE_1_SHSTK
>
> Or you can put it in the input file and linker will copy it to output, like
> GNU_PROPERTY_STACK_SIZE.
Powered by blists - more mailing lists