aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg (Zorry) <zorry@gentoo.org>2010-05-05 13:28:57 +0200
committerMagnus Granberg (Zorry) <zorry@gentoo.org>2010-05-05 13:28:57 +0200
commitad0eb2375d6f0d8325af4a550b7b514843740121 (patch)
tree61c90fdbeadef0bf2ebafff776ab2ebb44b041cc
parentAdded the testsuite to the warntrampolines patch (diff)
downloadhardened-gccpatchset-ad0eb2375d6f0d8325af4a550b7b514843740121.tar.gz
hardened-gccpatchset-ad0eb2375d6f0d8325af4a550b7b514843740121.tar.bz2
hardened-gccpatchset-ad0eb2375d6f0d8325af4a550b7b514843740121.zip
Added the doc to the warntrampolines patch
-rw-r--r--upstream/warntrampolins/README2
-rw-r--r--upstream/warntrampolins/gcc_doc_invoke.texi.patch25
2 files changed, 26 insertions, 1 deletions
diff --git a/upstream/warntrampolins/README b/upstream/warntrampolins/README
index 137dfbd..a7b9afa 100644
--- a/upstream/warntrampolins/README
+++ b/upstream/warntrampolins/README
@@ -7,5 +7,5 @@
Ported to GCC 4.5.x /Zorry
-Missing text in gcc/doc/invoke.texi
+gcc/doc/invoke.texi need more work i think.
/Zorry \ No newline at end of file
diff --git a/upstream/warntrampolins/gcc_doc_invoke.texi.patch b/upstream/warntrampolins/gcc_doc_invoke.texi.patch
new file mode 100644
index 0000000..196c51c
--- /dev/null
+++ b/upstream/warntrampolins/gcc_doc_invoke.texi.patch
@@ -0,0 +1,25 @@
+--- gcc/doc/invoke.texi 2010-04-06 16:02:22.000000000 +0200
++++ gcc/doc/invoke.texi 2010-05-05 13:23:24.000000000 +0200
+@@ -258,8 +258,8 @@
+ -Wstrict-aliasing -Wstrict-aliasing=n @gol
+ -Wstrict-overflow -Wstrict-overflow=@var{n} @gol
+ -Wswitch -Wswitch-default -Wswitch-enum -Wsync-nand @gol
+--Wsystem-headers -Wtrigraphs -Wtype-limits -Wundef -Wuninitialized @gol
+--Wunknown-pragmas -Wno-pragmas @gol
++-Wsystem-headers -Wtrampolines -Wtrigraphs -Wtype-limits -Wundef @gol
++-Wuninitialized -Wunknown-pragmas -Wno-pragmas @gol
+ -Wunsuffixed-float-constants -Wunused -Wunused-function @gol
+ -Wunused-label -Wunused-parameter -Wno-unused-result -Wunused-value -Wunused-variable @gol
+ -Wvariadic-macros -Wvla @gol
+@@ -3603,6 +3603,11 @@
+ option will @emph{not} warn about unknown pragmas in system
+ headers---for that, @option{-Wunknown-pragmas} must also be used.
+
++@item -Wtrampolines
++@opindex Wtrampolines
++@opindex Wno-trampolines
++Warn whenever a trampoline is generated
++
+ @item -Wfloat-equal
+ @opindex Wfloat-equal
+ @opindex Wno-float-equal