diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-12-03 23:09:39 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-12-03 23:09:39 +0000 |
commit | d57e94dae8a49eaab30d25cef5793ec9d6a32389 (patch) | |
tree | 148bc8a7fd736119b6937e5ec21a732b4a7632be /gnu/egcs/gcc | |
parent | e5ae30709816c2fb0079cb888a01fcbd963622fe (diff) |
Talk about -fno-stack-protector and -Wstack-protector options; miod@ and
deraadt@ ok.
Diffstat (limited to 'gnu/egcs/gcc')
-rw-r--r-- | gnu/egcs/gcc/gcc.1 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/gcc.1 b/gnu/egcs/gcc/gcc.1 index ae5ccdb82f5..e1359c036a9 100644 --- a/gnu/egcs/gcc/gcc.1 +++ b/gnu/egcs/gcc/gcc.1 @@ -20,7 +20,7 @@ .if n .sp .if t .sp 0.4 .. -.Id $Id: gcc.1,v 1.2 2002/11/24 00:58:17 espie Exp $ +.Id $Id: gcc.1,v 1.3 2002/12/03 23:09:38 fgsch Exp $ .TH GCC 1 "\*(Dt" "GNU Tools" "GNU Tools" .SH NAME gcc, g++ \- GNU project C and C++ Compiler (gcc-2.95) @@ -207,6 +207,7 @@ in the following sections. \-Wredundant\-decls \-Wreturn\-type \-Wshadow +\-Wstack\-protector \-Wstrict\-prototypes \-Wswitch \-Wtemplate\-debugging @@ -511,6 +512,7 @@ in the following sections. \-fno\-common \-fno\-ident \-fno\-gnu\-linker +\-fno\-stack\-protector \-fpcc\-struct\-return \-fpic \-fPIC @@ -1978,6 +1980,9 @@ Warn if any functions that return structures or unions are defined or called. (In languages where you can return an array, this also elicits a warning.) .TP +.B \-Wstack\-protector +Warn if stack protection is enabled and a function can not be protected. +.TP .B \-Wstrict\-prototypes Warn if a function is declared or defined without specifying the argument types. (An old-style function definition is permitted without @@ -3966,6 +3971,9 @@ compiler driver \c .B gcc\c \& is configured to do this automatically. .TP +.B \-fno\-stack\-protector +Do not include code to detect stack overflows. +.TP .B \-finhibit-size-directive Don't output a \c .B .size\c |