summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2006-04-11 10:36:24 +0000
committerMarc Espie <espie@cvs.openbsd.org>2006-04-11 10:36:24 +0000
commit20a8791f196e49281c50dd51226525bf55fae48e (patch)
treec6e074fd5f9cf5c75e4c58f50bfc9a2fd02b6469 /share
parent50bd4cc79b777b8f85854880a68fc33de4306192 (diff)
minimal documentation for -fstack-protector-all and gcc -E -CC in 2.95.3.
Diffstat (limited to 'share')
-rw-r--r--share/man/man1/gcc-local.117
1 files changed, 16 insertions, 1 deletions
diff --git a/share/man/man1/gcc-local.1 b/share/man/man1/gcc-local.1
index 325697c4efc..fc09a4c67da 100644
--- a/share/man/man1/gcc-local.1
+++ b/share/man/man1/gcc-local.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gcc-local.1,v 1.11 2005/04/27 14:12:27 miod Exp $
+.\" $OpenBSD: gcc-local.1,v 1.12 2006/04/11 10:36:23 espie Exp $
.\"
.\" Copyright (c) 2002 Marc Espie
.\" Copyright (c) 2003 Anil Madhavapeddy
@@ -167,6 +167,11 @@ Stand-alone programs not linked against libc must either provide their own
support bits, or use the
.Fl fno-stack-protector
option.
+There is also a
+.Fl fstack-protector-all
+option, that turns stack protection code on for all functions,
+and disables any heuristic that flags some functions as safe.
+This extended checking has a moderate runtime cost, though.
.It
.Nm gcc
recognizes a new flag,
@@ -210,6 +215,16 @@ On
.Nm gcc
does not warn for cast expressions used as lvalues outside of
.Fl pedantic .
+.It
+Even in 2.95.3,
+.Nm gcc
+recognizes the preprocessor flag
+.Fl CC
+that lets comments in macros pass through to the output (except in
+.Fl traditional
+mode).
+This is used to allow annotations in macros for
+.Xr lint 1 .
.El
.Sh ATTRIBUTES
The