aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg (Zorry) <zorry@gentoo.org>2010-05-05 02:41:06 +0200
committerMagnus Granberg (Zorry) <zorry@gentoo.org>2010-05-05 02:41:06 +0200
commitc4f2d025d15df40354cafc001d17c2242ebd682a (patch)
tree3c7ddb69fda0c9383a257b7b90a59496c42bf195
parentFix the upstream warntrampolins patch part2 (diff)
downloadhardened-gccpatchset-c4f2d025d15df40354cafc001d17c2242ebd682a.tar.gz
hardened-gccpatchset-c4f2d025d15df40354cafc001d17c2242ebd682a.tar.bz2
hardened-gccpatchset-c4f2d025d15df40354cafc001d17c2242ebd682a.zip
Fix the upstream warntrampolins patch part3
-rw-r--r--upstream/warntrampolins/README4
-rw-r--r--upstream/warntrampolins/README~8
-rw-r--r--upstream/warntrampolins/gcc_common.opt.patch2
3 files changed, 13 insertions, 1 deletions
diff --git a/upstream/warntrampolins/README b/upstream/warntrampolins/README
index 9c13059..73166ec 100644
--- a/upstream/warntrampolins/README
+++ b/upstream/warntrampolins/README
@@ -6,3 +6,7 @@
Kevin F. Quinn <kevquinn@gentoo.org> 17 Jan 2006
Ported to GCC 4.5.x /Zorry
+
+We are missing testcase
+Text in invoke.texi
+/Zorry \ No newline at end of file
diff --git a/upstream/warntrampolins/README~ b/upstream/warntrampolins/README~
new file mode 100644
index 0000000..9c13059
--- /dev/null
+++ b/upstream/warntrampolins/README~
@@ -0,0 +1,8 @@
+ This trivial patch causes gcc to emit a warning whenever
+ it generates a trampoline. These are otherwise hard to
+ locate. It is rigged to default ON - to have it default
+ to OFF remove the text 'Init(1)' from the common.opt
+ patch, leaving just 'Common Var(warn_trampolines)'.
+ Kevin F. Quinn <kevquinn@gentoo.org> 17 Jan 2006
+
+Ported to GCC 4.5.x /Zorry
diff --git a/upstream/warntrampolins/gcc_common.opt.patch b/upstream/warntrampolins/gcc_common.opt.patch
index 45486e7..2d7f2fb 100644
--- a/upstream/warntrampolins/gcc_common.opt.patch
+++ b/upstream/warntrampolins/gcc_common.opt.patch
@@ -5,7 +5,7 @@
Do not suppress warnings from system headers
+Wtrampolines
-+Common Var(warn_trampolines)
++Common Var(warn_trampolines) Warnings
+Warn whenever a trampoline is generated
+
Wuninitialized