PR target/81708
commit05641ad8b6a3ebcbf8520a5201d7095f63badb40
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Aug 2017 20:59:10 +0000 (10 20:59 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Aug 2017 20:59:10 +0000 (10 20:59 +0000)
treebfa44ea06ab428cb984cd7189bf283a48a7726bf
parented5348787c123cb38f7a80b930d3b7c292ebde19
PR target/81708
* config/i386/i386.opt (mstack-protector-guard-symbol=): New option
* config/i386/i386.c (ix86_stack_protect_guard): Use
ix86_stack_protect_guard_symbol_str to generate varible declaration.
* doc/invoke.texi (x86 Options): Document
-mstack-protector-guard-symbol= option.

testsuite/ChangeLog:

PR target/81708
* gcc.target/i386/stack-prot-sym.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251040 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.opt
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/stack-prot-sym.c [new file with mode: 0644]