[Patch] New hook TARGET_STACK_PROTECT_RUNTIME_ENABLED_P to disable SSP runtime
authorJiong Wang <jiong.wang@arm.com>
Tue, 29 Nov 2016 11:47:48 +0000 (11:47 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Tue, 29 Nov 2016 11:47:48 +0000 (11:47 +0000)
commit87a5dc2da0ae66285afa894b4dca847c87c0302b
tree58ea11f59eb7d734feba66f5e7ad492c76b250ab
parent11edabc2dfb9274445d697eff2bafde3abdefa1f
[Patch] New hook TARGET_STACK_PROTECT_RUNTIME_ENABLED_P to disable SSP runtime

gcc/
* target.def (stack_protect_runtime_enabled_p): New.
* function.c (expand_function_end): Guard stack_protect_epilogue with
targetm.stack_protect_runtime_enabled_p.
* cfgexpand.c (pass_expand::execute): Likewise.
* calls.c (expand_call): Likewise.
* doc/tm.texi.in (TARGET_STACK_PROTECT_RUNTIME_ENABLED_P): Add it.
* doc/tm.texi: Regenerate.

From-SVN: r242955
gcc/ChangeLog
gcc/calls.c
gcc/cfgexpand.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/function.c
gcc/target.def