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