octets vs bytes changes for binutils
[binutils-gdb.git] / binutils / strip.1
index c021a83f90093c6f415b8fbfe6fdbed374f0f66e..708817ded136322f9940f8684783abb08ac83554 100644 (file)
@@ -1,4 +1,4 @@
-.\" Copyright (c) 1991 Free Software Foundation
+.\" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 1998 Free Software Foundation
 .\" See section COPYING for conditions for redistribution
 .TH strip 1 "5 November 1991" "cygnus support" "GNU Development Tools"
 .de BP
@@ -25,7 +25,9 @@ strip \- Discard symbols from object files.
 .RB "[\|" \-x\fR\ |\ \fB\-\-discard\-all "\|]"
 .RB "[\|" \-X\fR\ |\ \fB\-\-discard\-locals "\|]"
 .RB "[\|" \-K\ \fIsymbolname\fR\ |\ \fB\-\-keep\-symbol=\fIsymbolname\fR "\|]" 
-.RB "[\|" \-N\ \fIsymbolname\fR\ |\ \fB\-\-strip\-symbol=\fIsymbolname\fR "\|]" 
+.RB "[\|" \-N\ \fIsymbolname\fR\ |\ \fB\-\-strip\-symbol=\fIsymbolname\fR "\|]"
+.RB "[\|" \-o\ \fIfile\f\R "\|]"
+.RB "[\|" \-p\fR\ |\ \fB\-\-preserve\-dates "\|]"
 .RB "[\|" \-v\fR\ |\ \fB\-\-verbose "\|]"
 .RB "[\|" \-V\fR\ |\ \fB\-\-version "\|]"
 .RB "[\|" \-V\fR\ |\ \fB\-\-help "\|]"
@@ -89,7 +91,7 @@ Remove all symbols.
 .TP
 .B \-S
 .TP
-.B -g
+.B \-g
 .TP
 .B \-\-strip\-debug
 Remove debugging symbols only.
@@ -106,6 +108,18 @@ Remove symbol \fIsymbolname\fP from the source file. This option
 may be given more than once, and may be combined with other strip
 options.
 
+.TP
+.B \-o \fIfile\fR
+Put the stripped output in \fIfile\fR, rather than replacing the
+existing file.  When this argument is used, only one \fIobjfile\fR
+argument may be specified.
+
+.TP
+.B \-p
+.TP
+.B \-\-preserve-dates
+Preserve the access and modification dates of the file.
+
 .TP
 .B \-x
 .TP
@@ -113,7 +127,9 @@ options.
 Remove non-global symbols.
 
 .TP
-.B "\-X \-\-discard\-locals"
+.B \-X
+.TP
+.B \-\-discard\-locals
 Remove compiler-generated local symbols.
 (These usually start with ``L'' or ``.''.)
 
@@ -134,7 +150,7 @@ other than \fB\-K\fR.
 .B \-\-verbose
 Verbose output: list all object files modified.  In the case of
 archives,
-.B "strip \-V"
+.B "strip \-v"
 lists all members of the archive.
 
 .TP
@@ -147,7 +163,7 @@ Show the version number for \fBstrip\fP and exit.
 .RB "`\|" binutils "\|'" 
 entry in 
 .BR info ;
-.IR "The GNU Binary Utilities ,
+.IR "The GNU Binary Utilities" ,
 Roland H. Pesch (October 1991).
 
 .SH COPYING