aboutsummaryrefslogtreecommitdiff
path: root/binutils/strip.1
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-06-30 17:45:24 +0000
committerIan Lance Taylor <ian@airs.com>1996-06-30 17:45:24 +0000
commit16c3e32aa01eb15913e7a117b93e1c34c0837c95 (patch)
tree99f6cab81329a0993e68f94c55f081fedeeccd6a /binutils/strip.1
parent4f6ee760caf693a1e79376a165a71fde110e493e (diff)
downloadgdb-16c3e32aa01eb15913e7a117b93e1c34c0837c95.zip
gdb-16c3e32aa01eb15913e7a117b93e1c34c0837c95.tar.gz
gdb-16c3e32aa01eb15913e7a117b93e1c34c0837c95.tar.bz2
* objcopy.c (strip_main): Add -o option, and handle it.
(strip_usage): Mention -o. * binutils.texi, strip.1: Mention -o.
Diffstat (limited to 'binutils/strip.1')
-rw-r--r--binutils/strip.19
1 files changed, 8 insertions, 1 deletions
diff --git a/binutils/strip.1 b/binutils/strip.1
index 7ecadaa..5b47414 100644
--- a/binutils/strip.1
+++ b/binutils/strip.1
@@ -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 "\|]"
@@ -107,6 +108,12 @@ 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
.B \-\-discard\-all