* objcopy.c (strip_main): Add -o option, and handle it.

(strip_usage): Mention -o.
	* binutils.texi, strip.1: Mention -o.
This commit is contained in:
Ian Lance Taylor
1996-06-30 17:45:24 +00:00
parent 4f6ee760ca
commit 16c3e32aa0
3 changed files with 20 additions and 1 deletions

View File

@@ -25,7 +25,8 @@ 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 "[\|" \-v\fR\ |\ \fB\-\-verbose "\|]"
.RB "[\|" \-V\fR\ |\ \fB\-\-version "\|]"
.RB "[\|" \-V\fR\ |\ \fB\-\-help "\|]"
@@ -106,6 +107,12 @@ 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 \-x
.TP