GCC: Add a new option "-fstack-protector-strong"
authorpfg <pfg@FreeBSD.org>
Thu, 30 Jul 2015 14:31:09 +0000 (14:31 +0000)
committerpfg <pfg@FreeBSD.org>
Thu, 30 Jul 2015 14:31:09 +0000 (14:31 +0000)
commitb1425be92a300456f5b779869a0535944ca59fce
tree562aa7ccc8fd38b31da1ac6f125a04eed1d1f0f0
parent52a7aa675b08cdb66f31e18638142de62b71c046
GCC: Add a new option "-fstack-protector-strong"

This includes additional functions to be protected: those that
have local array definitions, or have references to local frame
addresses. This is a new option in GCC-4.9 that was relicensed
by Han Shen from Google under GPLv2 for OpenBSD.

Obtained from: OpenBSD (2014-01-14)
MFC after: 2 weeks
contrib/gcc/c-cppbuiltin.c
contrib/gcc/cfgexpand.c
contrib/gcc/common.opt
contrib/gcc/doc/cpp.texi
contrib/gcc/doc/gcc.1
contrib/gcc/doc/invoke.texi
contrib/gcc/gcc.c