OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / GNU_binutils / draft / man1 / strip.1
1 .\" Copyright (c) 1991, 92, 93, 94, 95, 96, 1997 Free Software Foundation
2 .\" See section COPYING for conditions for redistribution
3 .\"
4 .\" Japanese Version Copyright (c) 1997 NAKANO Takeo all rights reserved.
5 .\" Translated Wed Dec 24 1997 by NAKANO Takeo <nakano@@apm.seikei.ac.jp>
6 .\"
7 .TH strip 1 "5 November 1991" "cygnus support" "GNU Development Tools"
8 .de BP
9 .sp
10 .ti \-.2i
11 \(**
12 ..
13
14 .\"O .SH NAME
15 .\"O strip \- Discard symbols from object files.
16 .SH Ì¾Á°
17 strip \- ¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë¤«¤é¥·¥ó¥Ü¥ë¤òÀÚ¤ê¼Î¤Æ¤ë
18
19 .\"O .SH SYNOPSIS
20 .SH ½ñ¼°
21 .hy 0
22 .na
23 .TP
24 .B strip
25 .RB "[\|" \-F\ \fIbfdname\fR\ |\ \fB\-\-target=\fIbfdname\fP "\|]"
26 .RB "[\|" \-I\ \fIbfdname\fR\ |\ \fB\-\-input\-target=\fIbfdname\fP "\|]"
27 .RB "[\|" \-O\ \fIbfdname\fR\ |\ \fB\-\-output\-target=\fIbfdname\fP "\|]"
28 .RB "[\|" \-R\ \fIsectionname\fR\ |\ \fB\-\-remove\-section=\fIsectionname\fP "\|]"
29 .RB "[\|" \-s\fR\ |\ \fB\-\-strip\-all "\|]"
30 .RB "[\|" \-S\fR\ |\ \fB\-g\fR\ |\ \fB\-\-strip\-debug "\|]"
31 .RB "[\|" \-\-strip\-unneeded\fR "\|]"
32 .RB "[\|" \-x\fR\ |\ \fB\-\-discard\-all "\|]"
33 .RB "[\|" \-X\fR\ |\ \fB\-\-discard\-locals "\|]"
34 .RB "[\|" \-K\ \fIsymbolname\fR\ |\ \fB\-\-keep\-symbol=\fIsymbolname\fR "\|]" 
35 .RB "[\|" \-N\ \fIsymbolname\fR\ |\ \fB\-\-strip\-symbol=\fIsymbolname\fR "\|]"
36 .RB "[\|" \-o\ \fIfile\f\R "\|]"
37 .RB "[\|" \-p\fR\ |\ \fB\-\-preserve\-dates "\|]"
38 .RB "[\|" \-v\fR\ |\ \fB\-\-verbose "\|]"
39 .RB "[\|" \-V\fR\ |\ \fB\-\-version "\|]"
40 .RB "[\|" \-V\fR\ |\ \fB\-\-help "\|]"
41 .I objfile\c
42 \&.\|.\|.
43
44 .\"O .SH DESCRIPTION
45 .SH ÀâÌÀ
46 .\"O GNU
47 .\"O .B strip
48 .\"O discards all symbols from the object files
49 .\"O .IR objfile .
50 .\"O The list of object files may include archives.
51 .\"O At least one object file must be given.
52 GNU
53 .B strip
54 ¤Ï¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
55 .I objfile
56 ¤«¤éÁ´¤Æ¤Î¥·¥ó¥Ü¥ë¤òÀÚ¤ê¼Î¤Æ¤ë¡£¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë¤Î¥ê¥¹¥È¤Ë¤Ï½ñ¸Ë 
57 (archive) ¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤ë¡£ºÇÄã¤Ò¤È¤Ä¤Î¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë¤ò»Ø
58 Äꤹ¤ëɬÍפ¬¤¢¤ë¡£
59
60 .P
61 .\"O .B strip
62 .\"O modifies the files named in its argument,
63 .\"O rather than writing modified copies under different names.
64 .B strip
65 ¤Ï½¤Àµ¤·¤¿ÆâÍƤòÊ̤Υե¡¥¤¥ë¤Ë½ñ¤­½Ð¤¹¤Î¤Ç¤Ï¤Ê¤¯¡¢°ú¤­¿ô¤Ë»Ø
66 Äꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤òľÀܽ¤Àµ¤¹¤ë¡£
67
68 .\"O .SH OPTIONS
69 .SH ¥ª¥×¥·¥ç¥ó
70 .TP
71 .B "\-F \fIbfdname"
72 .TP
73 .B "\-\-target=\fIbfdname"
74 .\"O Treat the original \fIobjfile\fP as a file with the object
75 .\"O code format \fIbfdname\fP, and rewrite it in the same format.
76 ¥ª¥ê¥¸¥Ê¥ë¤Î
77 .I objfile
78 ¤Î¥ª¥Ö¥¸¥§¥¯¥È¥³¡¼¥É¥Õ¥©¡¼¥Þ¥Ã¥È¤ò
79 .I bfdname
80 ¤È¤·¤Æ¼è¤ê°·¤¦¡£¤Þ¤¿
81 .I bfdname
82 ¤Ë»ØÄꤵ¤ì¤¿¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç½ñ¤­Ì᤹¡£
83
84 .TP
85 .B \-\-help
86 .\"O Show a summary of the options to
87 .\"O .B strip
88 .\"O and exit.
89 .B strip
90 ¤Î¥ª¥×¥·¥ç¥ó¤ÎÍ×Ìó¤òɽ¼¨¤·¤Æ½ªÎ»¤¹¤ë¡£
91
92 .TP
93 .B "\-I \fIbfdname
94 .TP
95 .B "\-\-input\-target=\fIbfdname"
96 .\"O Treat the original \fIobjfile\fP as a file with the object
97 .\"O code format \fIbfdname\fP.
98 ¥ª¥ê¥¸¥Ê¥ë¤Î
99 .I objfile
100 ¤Î¥ª¥Ö¥¸¥§¥¯¥È¥³¡¼¥É¥Õ¥©¡¼¥Þ¥Ã¥È¤ò
101 .I bfdname
102 ¤È¤·¤Æ¼è¤ê°·¤¦¡£
103
104 .TP
105 .B "\-O \fIbfdname\fP"
106 .TP
107 .B "\-\-output\-target=\fIbfdname"
108 .\"O Replace \fIobjfile\fP with a file in the output format \fIbfdname\fP.
109 .I objfile
110 ¤ò
111 .I bfdname
112 ¥Õ¥©¡¼¥Þ¥Ã¥È¤Î½ÐÎϤǽñ¤­´¹¤¨¤ë¡£
113
114 .TP
115 .B "\-R \fIsectionname\fP"
116 .TP
117 .B "\-\-remove\-section=\fIsectionname"
118 .\"O Remove the named section from the file.  This option may be given more
119 .\"O than once.  Note that using this option inappropriately may make the
120 .\"O object file unusable.
121 ¥Õ¥¡¥¤¥ë¤«¤é»ØÄꤷ¤¿Ì¾Á°¤Î¥»¥¯¥·¥ç¥ó¤òºï½ü¤¹¤ë¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÊ£¿ô»Ø
122 Äê¤Ç¤­¤ë¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò¸í¤Ã¤Æ¤â¤Á¤¤¤ë¤È¡¢¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë¤¬»È¤¤
123 ʪ¤Ë¤Ê¤é¤Ê¤¯¤Ê¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
124
125 .TP
126 .B \-s
127 .TP
128 .B \-\-strip\-all
129 .\"O Remove all symbols.
130 Á´¤Æ¤Î¥·¥ó¥Ü¥ë¤òºï½ü¤¹¤ë¡£
131
132 .TP
133 .B \-S
134 .TP
135 .B \-g
136 .TP
137 .B \-\-strip\-debug
138 .\"O Remove debugging symbols only.
139 ¥Ç¥Ð¥Ã¥®¥ó¥°¥·¥ó¥Ü¥ë¤Î¤ß¤òºï½ü¤¹¤ë¡£
140
141 .TP
142 .B \-\-strip\-unneeded
143 .\"O Strip all symbols that are not needed for relocation processing.
144 ¥ê¥í¥±¡¼¥·¥ç¥ó½èÍý¤ËÉÔɬÍפʥ·¥ó¥Ü¥ë¤òÁ´¤Æºï½ü¤¹¤ë¡£
145
146 .TP
147 .B \-N \fIsymbolname\fR
148 .TP
149 .B \-\-strip\-symbol=\fIsymbolname
150 .\"O Remove symbol \fIsymbolname\fP from the source file. This option
151 .\"O may be given more than once, and may be combined with other strip
152 .\"O options.
153 ¸µ¤Î¥Õ¥¡¥¤¥ë¤«¤é
154 .I symbolname
155 ¤È¤¤¤¦¥·¥ó¥Ü¥ë¤òºï½ü¤¹¤ë¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÊ£¿ôÍѤ¤¤ë¤³¤È¤â¤Ç¤­¤ë¤·¡¢Â¾
156 ¤Î¥ª¥×¥·¥ç¥ó¤ÈƱ»þ¤Ë»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤ë¡£
157
158 .TP
159 .B \-o \fIfile\fR
160 .\"O Put the stripped output in \fIfile\fR, rather than replacing the
161 .\"O existing file.  When this argument is used, only one \fIobjfile\fR
162 .\"O argument may be specified.
163 strip ½èÍý¤ò¹Ô¤Ã¤¿·ë²Ì¤ò¸µ¤Î¥Õ¥¡¥¤¥ë¤ÈÃÖ¤­´¹¤¨¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢
164 .I file
165 ¤Ë½ñ¤­½Ð¤¹¡£¤³¤Î°ú¿ô¤¬ÍѤ¤¤é¤ì¤¿¾ì¹ç¤Ë¤Ï
166 .I objfile
167 ¤Ë»ØÄê¤Ç¤­¤ë°ú¿ô¤Ï¤Ò¤È¤Ä¤À¤±¤Ç¤¢¤ë¡£
168
169 .TP
170 .B \-p
171 .TP
172 .B \-\-preserve-dates
173 .\"O Preserve the access and modification dates of the file.
174 ¥Õ¥¡¥¤¥ë¤Î¥¢¥¯¥»¥¹»þ¹ï¡¢½¤Àµ»þ¹ï¤òÊѹ¹¤·¤Ê¤¤¡£
175
176 .TP
177 .B \-x
178 .TP
179 .B \-\-discard\-all
180 .\"O Remove non-global symbols.
181 ¥°¥í¡¼¥Ð¥ë¤Ç¤Ê¤¤¥·¥ó¥Ü¥ë¤òºï½ü¤¹¤ë¡£
182
183 .TP
184 .B \-X
185 .TP
186 .B \-\-discard\-locals
187 .\"O Remove compiler-generated local symbols.
188 .\"O (These usually start with ``L'' or ``.''.)
189 ¥³¥ó¥Ñ¥¤¥é¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤¿¥í¡¼¥«¥ë¤Ê¥·¥ó¥Ü¥ë¤òºï½ü¤¹¤ë (¤³¤ì¤é¤ÏÄ̾ï 
190 ``L'' ¤Þ¤¿¤Ï ``.'' ¤Ç»Ï¤Þ¤ëʸ»úÎó¤Ç¤¢¤ë)¡£
191
192 .TP
193 .B \-K \fIsymbolname\fR, \fB\-\-keep\-symbol=\fIsymbolname
194 .\"O Copy only symbol \fIsymbolname\fP from the source file. This option
195 .\"O may be given more than once.
196 ¥·¥ó¥Ü¥ë
197 .I symbolname
198 ¤À¤±¤ò¸µ¤Î¥Õ¥¡¥¤¥ë¤«¤é¥³¥Ô¡¼¤¹¤ë¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÊ£¿ô»ØÄꤹ¤ë¤³¤È¤¬¤Ç
199 ¤­¤ë¡£
200
201 .TP
202 .B \-N \fIsymbolname\fR, \fB\-\-strip\-symbol=\fIsymbolname
203 .\"O Do not copy symbol \fIsymbolname\fP from the source file. This option
204 .\"O may be given more than once, and may be combined with strip options
205 .\"O other than \fB\-K\fR.
206 ¥·¥ó¥Ü¥ë
207 .I symbolname
208 ¤ò¸µ¤Î¥Õ¥¡¥¤¥ë¤«¤é¥³¥Ô¡¼¤·¤Ê¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÊ£¿ô»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¡¢
209 ¤Þ¤¿
210 .B \-K
211 °Ê³°¤Î¾¤Î¥ª¥×¥·¥ç¥ó¤ÈÁȤ߹ç¤ï¤»¤ë¤³¤È¤â¤Ç¤­¤ë¡£
212
213 .TP
214 .B \-v
215 .TP
216 .B \-\-verbose
217 .\"O Verbose output: list all object files modified.  In the case of
218 .\"O archives,
219 .\"O .B "strip \-V"
220 .\"O lists all members of the archive.
221 ñÁÀå½ÐÎϥ⡼¥É¡£Êѹ¹¤µ¤ì¤¿Á´¤Æ¤Î¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë¤ò¥ê¥¹¥È¤¹¤ë¡£½ñ¸Ë
222 ¤Î¾ì¹ç¤Ë
223 .B "strip \-v"
224 ¤È¤¹¤ë¤È¡¢½ñ¸ËÆâ¤Î¥á¥ó¥Ð¡¼Á´¤Æ¤ò¥ê¥¹¥È¤¹¤ë¡£
225
226 .TP
227 .B \-V
228 .TP
229 .B \-\-version
230 .\"O Show the version number for \fBstrip\fP and exit.
231 .B strip
232 ¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤òɽ¼¨¤·¤Æ½ªÎ»¤¹¤ë¡£
233
234 .\"O .SH "SEE ALSO"
235 .SH ´ØÏ¢¹àÌÜ
236 .\"O .RB "`\|" binutils "\|'" 
237 .\"O entry in 
238 .\"O .BR info ;
239 .\"O .IR "The GNU Binary Utilities" ,
240 .\"O Roland H. Pesch (October 1991).
241 .B info
242 ¤Î `\fB binutils \fP' ¥¨¥ó¥È¥ê¡¢
243 .IR "The GNU Binary Utilities" ,
244 Roland H. Pesch (October 1991)
245
246 .\"O .SH COPYING
247 .SH Ãøºî¸¢
248 Copyright (c) 1991 Free Software Foundation, Inc.
249 .PP
250 Permission is granted to make and distribute verbatim copies of
251 this manual provided the copyright notice and this permission notice
252 are preserved on all copies.
253 .PP
254 Permission is granted to copy and distribute modified versions of this
255 manual under the conditions for verbatim copying, provided that the
256 entire resulting derived work is distributed under the terms of a
257 permission notice identical to this one.
258 .PP
259 Permission is granted to copy and distribute translations of this
260 manual into another language, under the above conditions for modified
261 versions, except that this permission notice may be included in
262 translations approved by the Free Software Foundation instead of in
263 the original English.