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"
11 strip \- Discard symbols from object files.
18 .RB "[\|" \-F \fIbfdname\fP\ |\ \-\-target=\fIbfdname\fP "\|]"
19 .RB "[\|" \-I \fIbfdname\fP\ |\ \-\-input\-target=\fIbfdname\fP "\|]"
20 .RB "[\|" \-O \fIbfdname\fP\ |\ \-\-output\-target=\fIbfdname\fP "\|]"
21 .RB "[\|" \-R \fIsectionname\fP\ |\ \-\-remove\-section=\fIsectionname\fP "\|]"
22 .RB "[\|" \-s | \-\-strip\-all "\|]"
23 .RB "[\|" \-S | -g | \-\-strip\-debug "\|]"
24 .RB "[\|" \-x | \-\-discard\-all "\|]"
25 .RB "[\|" \-X | \-\-discard\-locals "\|]"
26 .RB "[\|" \-v | \-\-verbose "\|]"
27 .RB "[\|" \-V | \-\-version "\|]"
28 .RB "[\|" \-V | \-\-help "\|]"
35 discards all symbols from the object files
37 The list of object files may include archives.
38 At least one object file must be given.
42 modifies the files named in its argument,
43 rather than writing modified copies under different names.
49 .B "\-\-target=\fIbfdname"
50 Treat the original \fIobjfile\fP as a file with the object
51 code format \fIbfdname\fP, and rewrite it in the same format.
55 Show a summary of the options to
62 .B "\-\-input\-target=\fIbfdname"
63 Treat the original \fIobjfile\fP as a file with the object
64 code format \fIbfdname\fP.
67 .B "\-O \fIbfdname\fP"
69 .B "\-\-output\-target=\fIbfdname"
70 Replace \fIobjfile\fP with a file in the output format \fIbfdname\fP.
73 .B "\-R \fIsectionname\fP"
75 .B "\-\-remove\-section=\fIsectionname"
76 Remove the named section from the file. This option may be given more
77 than once. Note that using this option inappropriately may make the
92 Remove debugging symbols only.
98 Remove non-global symbols.
101 .B "\-X \-\-discard\-locals"
102 Remove compiler-generated local symbols.
103 (These usually start with ``L'' or ``.''.)
109 Verbose output: list all object files modified. In the case of
112 lists all members of the archive.
118 Show the version number for \fBstrip\fP and exit.
121 .RB "`\|" binutils "\|'"
124 .IR "The GNU Binary Utilities ,
125 Roland H. Pesch (October 1991).
128 Copyright (c) 1991 Free Software Foundation, Inc.
130 Permission is granted to make and distribute verbatim copies of
131 this manual provided the copyright notice and this permission notice
132 are preserved on all copies.
134 Permission is granted to copy and distribute modified versions of this
135 manual under the conditions for verbatim copying, provided that the
136 entire resulting derived work is distributed under the terms of a
137 permission notice identical to this one.
139 Permission is granted to copy and distribute translations of this
140 manual into another language, under the above conditions for modified
141 versions, except that this permission notice may be included in
142 translations approved by the Free Software Foundation instead of in
143 the original English.