aboutsummaryrefslogtreecommitdiff
path: root/5.1.0
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-10-19 17:31:08 +0000
committerMike Frysinger <vapier@gentoo.org>2015-10-19 17:31:08 +0000
commit4a8b1c591ec87bcacf4f8a6a5d145e084cc843e2 (patch)
tree500d4ef7f81065587b1c0b957d0cf66a44fc5bd0 /5.1.0
parentdrop isl/val_gmp.h include as gcc-4 doesn't use it, and older isl doesn't pro... (diff)
downloadgcc-patches-4a8b1c591ec87bcacf4f8a6a5d145e084cc843e2.tar.gz
gcc-patches-4a8b1c591ec87bcacf4f8a6a5d145e084cc843e2.tar.bz2
gcc-patches-4a8b1c591ec87bcacf4f8a6a5d145e084cc843e2.zip
clean up gcc doc patch -- tweak grammar, fix spacing, and make sure it applies to the right section of the file (no fuzz)
Diffstat (limited to '5.1.0')
-rw-r--r--5.1.0/gentoo/09_all_default-ssp.patch18
-rw-r--r--5.1.0/gentoo/README.history3
2 files changed, 12 insertions, 9 deletions
diff --git a/5.1.0/gentoo/09_all_default-ssp.patch b/5.1.0/gentoo/09_all_default-ssp.patch
index 50e2645..68254ea 100644
--- a/5.1.0/gentoo/09_all_default-ssp.patch
+++ b/5.1.0/gentoo/09_all_default-ssp.patch
@@ -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
diff --git a/5.1.0/gentoo/README.history b/5.1.0/gentoo/README.history
index 25557d0..145ad33 100644
--- a/5.1.0/gentoo/README.history
+++ b/5.1.0/gentoo/README.history
@@ -1,3 +1,6 @@
+1.3 [pending]
+ U 09_all_default-ssp.patch
+
1.2 14 Jul 2015
U 74_all_gcc5_isl-dl.patch
+ 75_all_gcc5-isl-0.15.patch