summaryrefslogtreecommitdiff
path: root/share/man/man1
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2011-11-22 09:29:50 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2011-11-22 09:29:50 +0000
commit28d7c17d65b2624adaefa6367f00769c73b22877 (patch)
tree5585b5678e7f71f906c2a0147b3c14c73add7a90 /share/man/man1
parent97ea436ee7732ac5e5a5678f177cdc14b7d4a9ec (diff)
no need to plaster "on openbsd" all over the place - we're pretty clear
upfront that this page documents openbsd-specific changes; from Daniel Dickman
Diffstat (limited to 'share/man/man1')
-rw-r--r--share/man/man1/gcc-local.132
1 files changed, 8 insertions, 24 deletions
diff --git a/share/man/man1/gcc-local.1 b/share/man/man1/gcc-local.1
index c3004bbdeb8..f2220a01df5 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.25 2011/09/21 21:26:04 jsg Exp $
+.\" $OpenBSD: gcc-local.1,v 1.26 2011/11/22 09:29:49 jmc Exp $
.\"
.\" Copyright (c) 2002 Marc Espie
.\" Copyright (c) 2003 Anil Madhavapeddy
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 21 2011 $
+.Dd $Mdocdate: November 22 2011 $
.Dt GCC-LOCAL 1
.Os
.Sh NAME
@@ -48,9 +48,7 @@ does not search under
for include files nor for libraries:
as a system compiler, it only searches the system paths by default.
.It
-On
-.Ox ,
-the
+The
.Fl pthread
option should be used to link threaded code, isolating the program from
operating system details.
@@ -61,9 +59,7 @@ executable using
.Xr mprotect 2 ,
since the stack area is by default non-executable.
.It
-On
-.Ox ,
-by default, trampoline code generation is disabled.
+Trampoline code generation is disabled by default.
Code requiring trampolines will not compile without
.Fl ftrampolines .
The warning flag
@@ -90,10 +86,10 @@ can cause surprising optimizations to occur, possibly deleting security
critical overflow checks.
.It
The
-.Fl ftree-vrp
-optimization is not included in the
.Fl O2
-option as it is known to be broken in
+option does not include the
+.Fl ftree-vrp
+optimization as it is known to be broken in
.Nm gcc 4.2.1 .
.It
The option
@@ -136,9 +132,7 @@ This exposes latent bugs for 64-bit architectures,
where a terminating 0 will expand to a 32-bit int, and not a full-fledged
64-bits pointer.
.It
-On some
-.Ox
-platforms,
+On some platforms,
.Nm gcc
still uses
.Xr setjmp 3 /
@@ -166,8 +160,6 @@ although the
flag is not maintained.
Additionally, rounding mode is dynamic.
.It
-On
-.Ox ,
.Nm gcc
comes with the
.Dq ProPolice
@@ -220,8 +212,6 @@ does not store its version string in objects.
This behavior can be restored with
.Fl fident .
.It
-On
-.Ox ,
.Nm gcc
will not move variables initialized with the value zero
from the data section to the bss section.
@@ -232,14 +222,10 @@ on other systems is to perform this action, which can be restored for
with
.Fl fzero-initialized-in-bss .
.It
-On
-.Ox ,
.Nm gcc
does not warn for cast expressions used as lvalues outside of
.Fl pedantic .
.It
-On
-.Ox ,
.Nm gcc 4.2.1
does not warn for pointer arguments passing or assignment with
different signedness outside of
@@ -259,8 +245,6 @@ mode).
This is used to allow annotations in macros for
.Xr lint 1 .
.It
-On
-.Ox ,
.Nm gcc
supports two extra warning options:
.Bl -item