[gcc-6] 50/401: - refresh patches
Ximin Luo
infinity0 at debian.org
Wed Apr 5 15:48:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch pu/reproducible_builds
in repository gcc-6.
commit 8c2f89dae99459ccf814236761027a224b86fcbb
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date: Sun Jan 17 11:48:36 2016 +0000
- refresh patches
git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@8591 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
debian/patches/gcc-default-ssp-strong.diff | 26 +++++++++++++-------------
debian/patches/gcc-default-ssp.diff | 28 ++++++++++++++--------------
2 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/debian/patches/gcc-default-ssp-strong.diff b/debian/patches/gcc-default-ssp-strong.diff
index 40c31a9..2101fa2 100644
--- a/debian/patches/gcc-default-ssp-strong.diff
+++ b/debian/patches/gcc-default-ssp-strong.diff
@@ -17,18 +17,7 @@ Index: b/src/gcc/doc/invoke.texi
===================================================================
--- a/src/gcc/doc/invoke.texi
+++ b/src/gcc/doc/invoke.texi
-@@ -10264,10 +10264,6 @@ functions with buffers larger than 8 byt
- when a function is entered and then checked when the function exits.
- If a guard check fails, an error message is printed and the program exits.
-
--NOTE: In Ubuntu 6.10 and later versions this option is enabled by default
--for C, C++, ObjC, ObjC++, if none of @option{-fno-stack-protector},
-- at option{-nostdlib}, nor @option{-ffreestanding} are found.
--
- @item -fstack-protector-all
- @opindex fstack-protector-all
- Like @option{-fstack-protector} except that all functions are protected.
-@@ -10288,6 +10284,11 @@ have the @code{stack_protect} attribute
+@@ -9771,6 +9771,11 @@ branch target registers within any basic
Optimize the prologue of variadic argument functions with respect to usage of
those arguments.
@@ -40,7 +29,7 @@ Index: b/src/gcc/doc/invoke.texi
@item -fsection-anchors
@opindex fsection-anchors
Try to reduce the number of symbolic address calculations by using
-@@ -10860,13 +10861,13 @@ value of a shared integer constant. The
+@@ -10351,13 +10356,13 @@ value of a shared integer constant. The
The minimum size of buffers (i.e.@: arrays) that receive stack smashing
protection when @option{-fstack-protection} is used.
@@ -57,3 +46,14 @@ Index: b/src/gcc/doc/invoke.texi
@item max-jump-thread-duplication-stmts
Maximum number of statements allowed in a block that needs to be
duplicated when threading jumps.
+@@ -11276,10 +11281,6 @@ functions with buffers larger than 8 byt
+ when a function is entered and then checked when the function exits.
+ If a guard check fails, an error message is printed and the program exits.
+
+-NOTE: In Ubuntu 6.10 and later versions this option is enabled by default
+-for C, C++, ObjC, ObjC++, if none of @option{-fno-stack-protector},
+- at option{-nostdlib}, nor @option{-ffreestanding} are found.
+-
+ @item -fstack-protector-all
+ @opindex fstack-protector-all
+ Like @option{-fstack-protector} except that all functions are protected.
diff --git a/debian/patches/gcc-default-ssp.diff b/debian/patches/gcc-default-ssp.diff
index e1458fa..917ab8e 100644
--- a/debian/patches/gcc-default-ssp.diff
+++ b/debian/patches/gcc-default-ssp.diff
@@ -46,7 +46,7 @@ Index: b/src/gcc/gcc.c
/* This contains cpp options which are not passed when the preprocessor
output will be used by another program. */
-@@ -1300,9 +1309,9 @@ static const struct compiler default_com
+@@ -1301,9 +1310,9 @@ static const struct compiler default_com
%{save-temps*|traditional-cpp|no-integrated-cpp:%(trad_capable_cpp) \
%(cpp_options) -o %{save-temps*:%b.i} %{!save-temps*:%g.i} \n\
cc1 -fpreprocessed %{save-temps*:%b.i} %{!save-temps*:%g.i} \
@@ -58,7 +58,7 @@ Index: b/src/gcc/gcc.c
%{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 1},
{"-",
"%{!E:%e-E or -x required when input is from standard input}\
-@@ -1327,7 +1336,7 @@ static const struct compiler default_com
+@@ -1328,7 +1337,7 @@ static const struct compiler default_com
%W{o*:--output-pch=%*}}%V}}}}}}}", 0, 0, 0},
{".i", "@cpp-output", 0, 0, 0},
{"@cpp-output",
@@ -67,7 +67,7 @@ Index: b/src/gcc/gcc.c
{".s", "@assembler", 0, 0, 0},
{"@assembler",
"%{!M:%{!MM:%{!E:%{!S:as %(asm_debug) %(asm_options) %i %A }}}}", 0, 0, 0},
-@@ -1559,6 +1568,7 @@ static struct spec_list static_specs[] =
+@@ -1560,6 +1569,7 @@ static struct spec_list static_specs[] =
INIT_STATIC_SPEC ("cc1plus", &cc1plus_spec),
INIT_STATIC_SPEC ("link_gcc_c_sequence", &link_gcc_c_sequence_spec),
INIT_STATIC_SPEC ("link_ssp", &link_ssp_spec),
@@ -191,7 +191,17 @@ Index: b/src/gcc/doc/invoke.texi
===================================================================
--- a/src/gcc/doc/invoke.texi
+++ b/src/gcc/doc/invoke.texi
-@@ -10259,6 +10259,10 @@ functions with buffers larger than 8 byt
+@@ -10350,6 +10350,9 @@ protection when @option{-fstack-protecti
+ The minimum size of variables taking part in stack slot sharing when not
+ optimizing. The default value is 32.
+
++This default before Ubuntu 10.10 was "8". Currently it is "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.
+@@ -11268,6 +11271,10 @@ functions with buffers larger than 8 byt
when a function is entered and then checked when the function exits.
If a guard check fails, an error message is printed and the program exits.
@@ -202,13 +212,3 @@ Index: b/src/gcc/doc/invoke.texi
@item -fstack-protector-all
@opindex fstack-protector-all
Like @option{-fstack-protector} except that all functions are protected.
-@@ -10855,6 +10859,9 @@ protection when @option{-fstack-protecti
- The minimum size of variables taking part in stack slot sharing when not
- optimizing. The default value is 32.
-
-+This default before Ubuntu 10.10 was "8". Currently it is "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.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-6.git
More information about the Reproducible-commits
mailing list