Had a duplicate listing for -v.
[deliverable/binutils-gdb.git] / binutils / strip.1
1 .\" Copyright (c) 1991 Free Software Foundation
2 .\" See section COPYING for conditions for redistribution
3 .TH strip 1 "5 November 1991" "cygnus support" "GNU Development Tools"
4 .de BP
5 .sp
6 .ti \-.2i
7 \(**
8 ..
9
10 .SH NAME
11 strip\(em\&Discard symbols from object files.
12
13 .SH SYNOPSIS
14 .B strip
15 .RB "[\|" "\-F \fIformat\fP" | \-\-format=\fIformat\fP | \-\-target=\fIformat\fP "\|]"
16 .RB "[\|" "\-I \fIformat\fP" | \-\-input\-format=\fIformat\fP "\|]"
17 .RB "[\|" "\-O \fIformat\fP" | \-\-output\-format=\fIformat\fP "\|]"
18 .RB "[\|" \-s | \-\-strip\-all "\|]"
19 .RB "[\|" \-S | -g | \-\-strip\-debug "\|]"
20 .RB "[\|" \-x | \-\-discard\-all "\|]"
21 .RB "[\|" \-X | \-\-discard\-locals "\|]"
22 .RB "[\|" \-v | \-\-verbose "\|]"
23 .RB "[\|" \-V | \-\-version "\|]"
24 .I objfile\c
25 \&.\|.\|.
26
27 .SH DESCRIPTION
28 GNU \c
29 .B strip\c
30 \& discards all symbols from the object files
31 \c
32 .I objfile\c
33 \&. The list of object files may include archives.
34
35 \c
36 .B strip\c
37 \& will not execute unless at least one object file is listed.
38
39 \& \c
40 .B strip\c
41 \& modifies the files named in its argument,
42 rather than writing modified copies under different names.
43
44 .SH OPTIONS
45 .TP
46 .B "\-F \fIformat\fP \-\-format=\fIformat\fP \-\-target=\fIformat\fP"
47 Treat the original \fIobjfile\fP as a file with the object
48 code format \fIformat\fP, and rewrite it in the same format.
49
50 .TP
51 .B "\-I \fIformat\fP \-\-input\-format=\fIformat\fP"
52 Treat the original \fIobjfile\fP as a file with the object
53 code format \fIformat\fP.
54
55 .TP
56 .B "\-O \fIformat\fP \-\-output\-format=\fIformat\fP"
57 Replace \fIobjfile\fP with a file in the output format \fIformat\fP.
58
59 .TP
60 .B "\-s \-\-strip\-all"
61 Remove all symbols.
62
63 .TP
64 .B "\-S -g \-\-strip\-debug"
65 Remove debugging symbols only.
66
67 .TP
68 .B "\-x \-\-discard\-all"
69 Remove non-global symbols.
70
71 .TP
72 .B "\-X \-\-discard\-locals"
73 Remove compiler-generated local symbols.
74 (These usually start with ``L'' or ``.''.)
75
76 .TP
77 .B "\-v \-\-verbose"
78 Verbose output: list all object files modified. In the case of
79 archives, ``strip \-V'' lists all members of the archive.
80
81 .TP
82 .B "\-V \-\-version
83 Show the version number for \fBstrip\fP.
84
85 .PP
86
87 .SH "SEE ALSO"
88 .RB "`\|" binutils "\|'"
89 entry in
90 .B
91 info\c
92 \&;
93 .I
94 The GNU Binary Utilities\c
95 \&, Roland H. Pesch (October 1991).
96
97 .SH COPYING
98 Copyright (c) 1991 Free Software Foundation, Inc.
99 .PP
100 Permission is granted to make and distribute verbatim copies of
101 this manual provided the copyright notice and this permission notice
102 are preserved on all copies.
103 .PP
104 Permission is granted to copy and distribute modified versions of this
105 manual under the conditions for verbatim copying, provided that the
106 entire resulting derived work is distributed under the terms of a
107 permission notice identical to this one.
108 .PP
109 Permission is granted to copy and distribute translations of this
110 manual into another language, under the above conditions for modified
111 versions, except that this permission notice may be included in
112 translations approved by the Free Software Foundation instead of in
113 the original English.
This page took 0.032248 seconds and 5 git commands to generate.