5fea0d9894
lang/gcc. PR: 203751, 186852 [1] Submitted by: software-freebsd@interfasys.ch [1]
39 lines
1.7 KiB
Text
39 lines
1.7 KiB
Text
--- gcc/doc/cpp.texi.orig
|
|
+++ gcc/doc/cpp.texi
|
|
@@ -2349,6 +2349,10 @@ use.
|
|
This macro is defined, with value 2, when @option{-fstack-protector-all} is
|
|
in use.
|
|
|
|
+@item __SSP_STRONG__
|
|
+This macro is defined, with value 3, when @option{-fstack-protector-strong} is
|
|
+in use.
|
|
+
|
|
@item __SANITIZE_ADDRESS__
|
|
This macro is defined, with value 1, when @option{-fsanitize=address} is
|
|
in use.
|
|
--- gcc/doc/invoke.texi.orig
|
|
+++ gcc/doc/invoke.texi
|
|
@@ -407,8 +407,8 @@ Objective-C and Objective-C++ Dialects}.
|
|
-fsel-sched-pipelining -fsel-sched-pipelining-outer-loops @gol
|
|
-fshrink-wrap -fsignaling-nans -fsingle-precision-constant @gol
|
|
-fsplit-ivs-in-unroller -fsplit-wide-types -fstack-protector @gol
|
|
--fstack-protector-all -fstrict-aliasing -fstrict-overflow @gol
|
|
--fthread-jumps -ftracer -ftree-bit-ccp @gol
|
|
+-fstack-protector-all -fstack-protector-strong -fstrict-aliasing @gol
|
|
+-fstrict-overflow -fthread-jumps -ftracer -ftree-bit-ccp @gol
|
|
-ftree-builtin-call-dce -ftree-ccp -ftree-ch @gol
|
|
-ftree-coalesce-inline-vars -ftree-coalesce-vars -ftree-copy-prop @gol
|
|
-ftree-copyrename -ftree-dce -ftree-dominator-opts -ftree-dse @gol
|
|
@@ -8957,6 +8957,12 @@ If a guard check fails, an error message is printed and the program exits.
|
|
@opindex fstack-protector-all
|
|
Like @option{-fstack-protector} except that all functions are protected.
|
|
|
|
+@item -fstack-protector-strong
|
|
+@opindex fstack-protector-strong
|
|
+Like @option{-fstack-protector} but includes additional functions to
|
|
+be protected --- those that have local array definitions, or have
|
|
+references to local frame addresses.
|
|
+
|
|
@item -fsection-anchors
|
|
@opindex fsection-anchors
|
|
Try to reduce the number of symbolic address calculations by using
|