vapier 15/10/19 17:31:09 Modified: 09_all_default-ssp.patch README.history Log: clean up gcc doc patch -- tweak grammar, fix spacing, and make sure it applies to the right section of the file (no fuzz)
Revision Changes Path 1.2 src/patchsets/gcc/5.2.0/gentoo/09_all_default-ssp.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.2.0/gentoo/09_all_default-ssp.patch?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.2.0/gentoo/09_all_default-ssp.patch?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.2.0/gentoo/09_all_default-ssp.patch?r1=1.1&r2=1.2 Index: 09_all_default-ssp.patch =================================================================== RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/5.2.0/gentoo/09_all_default-ssp.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 09_all_default-ssp.patch 17 Jul 2015 05:08:04 -0000 1.1 +++ 09_all_default-ssp.patch 19 Oct 2015 17:31:09 -0000 1.2 @@ -59,13 +59,13 @@ references to local frame addresses. +NOTE: In Gentoo GCC 4.9.0 and later versions this option is enabled by default -+for C, C++, ObjC, ObjC++, if neither @option{-fno-stack-protector}, -+@option{-nostdlib}, @option{-ffreestanding}, @option{-fstack-protector}, -+@option{-fstack-protector-strong}or @option{-fstack-protector-all}are found. ++for C, C++, ObjC, and ObjC++ if none of the options @option{-fno-stack-protector}, ++@option{-nostdlib}, @option{-ffreestanding}, @option{-fstack-protector}, ++@option{-fstack-protector-strong}, or @option{-fstack-protector-all} are found. + - @item -fsection-anchors - @opindex fsection-anchors - Try to reduce the number of symbolic address calculations by using + @item -fstack-protector-explicit + @opindex fstack-protector-explicit + Like @option{-fstack-protector} but only protects those functions which @@ -9461,6 +9465,9 @@ The minimum size of buffers (i.e.@: arrays) that receive stack smashing protection when @option{-fstack-protection} is used. @@ -73,9 +73,9 @@ +NOTE: In Gentoo this is change from "8" to "4", to increase +the number of functions protected by the stack protector. + - @item max-jump-thread-duplication-stmts - Maximum number of statements allowed in a block that needs to be - duplicated when threading jumps. + @item min-size-for-stack-sharing + The minimum size of variables taking part in stack slot sharing when not + optimizing. The default value is 32. --- a/gcc/cp/lang-specs.h +++ b/gcc/cp/lang-specs.h @@ -46,7 +46,7 @@ along with GCC; see the file COPYING3. If not see 1.4 src/patchsets/gcc/5.2.0/gentoo/README.history file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.2.0/gentoo/README.history?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.2.0/gentoo/README.history?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.2.0/gentoo/README.history?r1=1.3&r2=1.4 Index: README.history =================================================================== RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/5.2.0/gentoo/README.history,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- README.history 2 Oct 2015 21:23:01 -0000 1.3 +++ README.history 19 Oct 2015 17:31:09 -0000 1.4 @@ -1,3 +1,6 @@ +1.3 [pending] + U 09_all_default-ssp.patch + 1.2 02 Oct 2015 + 69_all_gcc-5-ms_abi-pr66838.patch
