[PATCH] Implement no_stack_protect attribute.

Martin Liška mliska@suse.cz
Mon May 18 10:37:58 GMT 2020


Hi.

The patch adds new no_stack_protect attribute. The change is requested
from kernel folks and is direct equivalent of Clang's no_stack_protector.
Unlike Clang, I chose to name it no_stack_protect because we already
have stack_protect attribute (used with -fstack-protector-explicit).

First part of the patch contains a small refactoring of an enum, second
implements the functionality.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Ready to be installed?
Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Implement-no_stack_protect-attribute.patch
Type: text/x-patch
Size: 13582 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200518/c410f04d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Come-up-with-stack_protector-enum.patch
Type: text/x-patch
Size: 3245 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200518/c410f04d/attachment-0003.bin>


More information about the Gcc-patches mailing list