[PATCH][RFA/RFC] Stack clash mitigation patch 01/08 V2
Jeff Law
law@redhat.com
Fri Jul 21 17:36:00 GMT 2017
On 07/20/2017 07:23 AM, Segher Boessenkool wrote:
> Hi Jeff,
>
> On Tue, Jul 18, 2017 at 11:17:19PM -0600, Jeff Law wrote:
>>
>> The biggest change in this update to patch 01/08 is moving of stack
>> clash protection out of -fstack-check= and into its own option,
>> -fstack-clash-protection. I believe other issues raised by reviewers
>> have been addressed as well.
>
> 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.
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.
I think we ought to provide that target specific information in the
documentation, though I worry it will get out of date. Thoughts?
jeff
More information about the Gcc-patches
mailing list