aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-array-notation.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2017-08-08 18:48:46 +0200
committerUros Bizjak <uros@gcc.gnu.org>2017-08-08 18:48:46 +0200
commitd5bf81b30f7d3faf58d52784013749ca0f9f980f (patch)
treeb5449885acc699eefc6d35b3d55189c4e773106b /gcc/c/c-array-notation.c
parent7d27b70bd861d6b83a6821e3fb4205e19a365310 (diff)
downloadgcc-d5bf81b30f7d3faf58d52784013749ca0f9f980f.zip
gcc-d5bf81b30f7d3faf58d52784013749ca0f9f980f.tar.gz
gcc-d5bf81b30f7d3faf58d52784013749ca0f9f980f.tar.bz2
re PR target/81708 (The x86 stack canary location should be customizable)
PR target/81708 * config/i386/i386.opt (mstack-protector-guard-reg=): New option (mstack-protector-guard-offset=): Ditto. * config/i386/i386.c (ix86_option_override): Handle -mstack-protector-guard-reg= and -mstack-protector-guard-offset= options. (ix86_stack_protect_guard): Use ix86_stack_protect_guard_reg and ix86_stack_protect_guard_offset variables. (TARGET_STACK_PROTECT_GUARD): Always define. * doc/invoke.texi (x86 Options): Document -mstack-protector-guard-reg= and -mstack-protector-guard-offset= options. testsuite/ChangeLog: PR target/81708 * gcc.target/i386/stack-prot-guard.c: New test. From-SVN: r250965
Diffstat (limited to 'gcc/c/c-array-notation.c')
0 files changed, 0 insertions, 0 deletions