* config/i386/i386.opt: New option mstack-protector-guard=.
commit98c0d6572c62b325c1e8635df3d6b22003b83619
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Apr 2013 10:03:48 +0000 (15 10:03 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Apr 2013 10:03:48 +0000 (15 10:03 +0000)
treead462b31e486f9859c8d9438bf69a6ce4b33cb6e
parent68cc384ef412d9b7141bba53a7c3291fbacd4167
* config/i386/i386.opt: New option mstack-protector-guard=.
* config/i386/i386-opts.h: Add enum stack_protector_guard.
* config/i386/i386.h: Define TARGET_SSP_GLOBAL_GUARD and
TARGET_SSP_TLS_GUARD.
* config/i386/i386.c (ix86_option_override_internal): Set
ix86_stack_protector_guard.
* config/i386/i386.md (stack_protect_set): Enable for
TARGET_SSP_TLS_GUARD only.
(stack_protect_set_<mode>): Ditto.
(stack_protect_test): Ditto.
(stack_protect_test_<mode>): Ditto.
* doc/invoke.texi (i386 Option): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197963 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386-opts.h
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/config/i386/i386.md
gcc/config/i386/i386.opt
gcc/doc/invoke.texi