aboutsummaryrefslogtreecommitdiff
path: root/binutils/strip.1
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1993-06-28 02:17:13 +0000
committerDavid MacKenzie <djm@cygnus>1993-06-28 02:17:13 +0000
commitb26ac61376d5075ba809a72b04aeda402d8bc402 (patch)
tree732e9ad94b516a8c8ee7322f71cd1216e454b1b6 /binutils/strip.1
parent6214895281c6ab1032c99a3f1a644ad3d3575be3 (diff)
downloadgdb-b26ac61376d5075ba809a72b04aeda402d8bc402.zip
gdb-b26ac61376d5075ba809a72b04aeda402d8bc402.tar.gz
gdb-b26ac61376d5075ba809a72b04aeda402d8bc402.tar.bz2
* Makefile.in: Note dependencies on bucomm.h.
(cplus-dem.o): Link c++filt with version.o. * strings.c: Include bucomm.h and add prototypes to other decls. Remove -h option. * bucomm.h: Declare xrealloc. * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add --help option. Put "GNU" in the version message. (usage): Take stream and exit status as args. (main): Pass new args to usage.
Diffstat (limited to 'binutils/strip.1')
-rw-r--r--binutils/strip.182
1 files changed, 51 insertions, 31 deletions
diff --git a/binutils/strip.1 b/binutils/strip.1
index 1c69162..4ca0dbb 100644
--- a/binutils/strip.1
+++ b/binutils/strip.1
@@ -21,51 +21,70 @@ strip\(em\&Discard symbols from object files.
.RB "[\|" \-X | \-\-discard\-locals "\|]"
.RB "[\|" \-v | \-\-verbose "\|]"
.RB "[\|" \-V | \-\-version "\|]"
+.RB "[\|" \-V | \-\-help "\|]"
.I objfile\c
\&.\|.\|.
.SH DESCRIPTION
-GNU \c
-.B strip\c
-\& discards all symbols from the object files
-\c
-.I objfile\c
-\&. The list of object files may include archives.
-
-\c
-.B strip\c
-\& will not execute unless at least one object file is listed.
+GNU
+.B strip
+discards all symbols from the object files
+.IR objfile .
+The list of object files may include archives.
+At least one object file must be given.
-\& \c
-.B strip\c
-\& modifies the files named in its argument,
+.P
+.B strip
+modifies the files named in its argument,
rather than writing modified copies under different names.
.SH OPTIONS
.TP
-.B "\-F \fIformat\fP \-\-format=\fIformat\fP \-\-target=\fIformat\fP"
+.B "\-F \fIformat"
+.TP
+.B "\-\-format=\fIformat"
+.TP
+.B "\-\-target=\fIformat"
Treat the original \fIobjfile\fP as a file with the object
code format \fIformat\fP, and rewrite it in the same format.
.TP
-.B "\-I \fIformat\fP \-\-input\-format=\fIformat\fP"
+.B \-\-help
+Show a summary of the options to
+.B strip
+and exit.
+
+.TP
+.B "\-I \fIformat
+.TP
+.B "\-\-input\-format=\fIformat"
Treat the original \fIobjfile\fP as a file with the object
code format \fIformat\fP.
.TP
-.B "\-O \fIformat\fP \-\-output\-format=\fIformat\fP"
+.B "\-O \fIformat\fP"
+.TP
+.B "\-\-output\-format=\fIformat"
Replace \fIobjfile\fP with a file in the output format \fIformat\fP.
.TP
-.B "\-s \-\-strip\-all"
+.B \-s
+.TP
+.B \-\-strip\-all
Remove all symbols.
.TP
-.B "\-S -g \-\-strip\-debug"
+.B \-S
+.TP
+.B -g
+.TP
+.B \-\-strip\-debug
Remove debugging symbols only.
.TP
-.B "\-x \-\-discard\-all"
+.B \-x
+.TP
+.B \-\-discard\-all
Remove non-global symbols.
.TP
@@ -74,25 +93,26 @@ Remove compiler-generated local symbols.
(These usually start with ``L'' or ``.''.)
.TP
-.B "\-v \-\-verbose"
+.B \-v
+.TP
+.B \-\-verbose
Verbose output: list all object files modified. In the case of
-archives, ``strip \-V'' lists all members of the archive.
+archives,
+.B "strip \-V"
+lists all members of the archive.
.TP
-.B "\-V \-\-version
-Show the version number for \fBstrip\fP.
-
-.PP
+.B \-V
+.TP
+.B \-\-version
+Show the version number for \fBstrip\fP and exit.
.SH "SEE ALSO"
.RB "`\|" binutils "\|'"
entry in
-.B
-info\c
-\&;
-.I
-The GNU Binary Utilities\c
-\&, Roland H. Pesch (October 1991).
+.BR info ;
+.IR "The GNU Binary Utilities ,
+Roland H. Pesch (October 1991).
.SH COPYING
Copyright (c) 1991 Free Software Foundation, Inc.