This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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][RFA/RFC] Stack clash mitigation patch 01/08 V2


On Fri, Jul 21, 2017 at 11:36:05AM -0600, Jeff Law wrote:
> On 07/20/2017 07:23 AM, Segher Boessenkool wrote:
> > On Tue, Jul 18, 2017 at 11:17:19PM -0600, Jeff Law wrote:
> > I think the documentation for the new option should say this only
> > provides partial protection on targets that do not have fuller protection
> > enabled.  Is there some way for users to find out which targets those
> > are / if their target is one of those?
> Agreed.  I've added a note in the documentation.

Thanks.

> Sadly, there's no way short of listing them and keeping that list
> up-to-date over time by hand.  If we want to do that, I would suggest
> we note the processors with full support as well as those with partial
> support using the -fstack-check=specific prologues.

Oh, I thought everything got the partial support.  Targets that get _no_
protection should just warn whenever someone asks for it, I think.

> I think we ought to provide that target specific information in the
> documentation, though I worry it will get out of date.  Thoughts?

It's the same as with any other target-specific note in the generic
documentation...  You'll just have to hope if someone implements a
cool feature for some target they remember to advertise that.


Segher


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