aboutsummaryrefslogtreecommitdiff
path: root/binutils/binutils.texi
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/binutils.texi
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/binutils.texi')
-rw-r--r--binutils/binutils.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/binutils.texi b/binutils/binutils.texi
index 3b0f486..053df4a 100644
--- a/binutils/binutils.texi
+++ b/binutils/binutils.texi
@@ -1446,6 +1446,7 @@ strip [ -F @var{bfdname} | --target=@var{bfdname} | --target=@var{bfdname} ]
[ -N @var{symbolname} | --strip-symbol=@var{symbolname} ]
[ -x | --discard-all ] [ -X | --discard-locals ]
[ -R @var{sectionname} | --remove-section=@var{sectionname} ]
+ [ -o @var{file} ]
[ -v | --verbose ] [ -V | --version ] [ --help ]
@var{objfile}@dots{}
@end smallexample
@@ -1507,6 +1508,11 @@ Remove symbol @var{symbolname} from the source file. This option may be
given more than once, and may be combined with strip options other than
@code{-K}.
+@item -o @var{file}
+Put the stripped output in @var{file}, rather than replacing the
+existing file. When this argument is used, only one @var{objfile}
+argument may be specified.
+
@item -x
@itemx --discard-all
Remove non-global symbols.