summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/doc/gcc.1
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2015-08-13 01:02:57 +0000
committerpfg <pfg@FreeBSD.org>2015-08-13 01:02:57 +0000
commitc32f5a21dce4ad7d32a4573c7a99bf50e384075c (patch)
tree6d4cb070f92d84a3dcfe158d8171b1a43cda5aaf /contrib/gcc/doc/gcc.1
parent3e1f1ceab6f729496c14d5168e17d7aa4cb13f12 (diff)
downloadFreeBSD-src-c32f5a21dce4ad7d32a4573c7a99bf50e384075c.zip
FreeBSD-src-c32f5a21dce4ad7d32a4573c7a99bf50e384075c.tar.gz
MFC r286074:
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. Obtained from: OpenBSD (2014-01-14)
Diffstat (limited to 'contrib/gcc/doc/gcc.1')
-rw-r--r--contrib/gcc/doc/gcc.17
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/gcc/doc/gcc.1 b/contrib/gcc/doc/gcc.1
index 1879d76..8afd6aa 100644
--- a/contrib/gcc/doc/gcc.1
+++ b/contrib/gcc/doc/gcc.1
@@ -339,7 +339,7 @@ in the following sections.
\&\fB\-fsched2\-use\-superblocks
\&\-fsched2\-use\-traces \-fsee \-freschedule\-modulo\-scheduled\-loops
\&\-fsection\-anchors \-fsignaling\-nans \-fsingle\-precision\-constant
-\&\-fstack\-protector \-fstack\-protector\-all
+\&\-fstack\-protector \-fstack\-protector\-all \-fstack\-protector\-strong
\&\-fstrict\-aliasing \-fstrict\-overflow \-ftracer \-fthread\-jumps
\&\-funroll\-all\-loops \-funroll\-loops \-fpeel\-loops
\&\-fsplit\-ivs\-in\-unroller \-funswitch\-loops
@@ -5193,6 +5193,11 @@ If a guard check fails, an error message is printed and the program exits.
.IP "\fB\-fstack\-protector\-all\fR" 4
.IX Item "-fstack-protector-all"
Like \fB\-fstack\-protector\fR except that all functions are protected.
+.IP "\fB\-fstack\-protector\-strong\fR" 4
+.IX Item "-fstack-protector-strong"
+Like \fB\-fstack\-protector\fR but includes additional functions to
+be protected \-\-\- those that have local array definitions, or have
+references to local frame addresses.
.IP "\fB\-fsection\-anchors\fR" 4
.IX Item "-fsection-anchors"
Try to reduce the number of symbolic address calculations by using
OpenPOWER on IntegriCloud