1 .\" Copyright (c) 1991, 92, 93, 94, 95, 96, 1997 Free Software Foundation
2 .\" See section COPYING for conditions for redistribution
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>
7 .TH strip 1 "5 November 1991" "cygnus support" "GNU Development Tools"
15 .\"O strip \- Discard symbols from object files.
17 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 "\|]"
48 .\"O discards all symbols from the object files
50 .\"O The list of object files may include archives.
51 .\"O At least one object file must be given.
54 ¤Ï¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
56 ¤«¤éÁ´¤Æ¤Î¥·¥ó¥Ü¥ë¤òÀÚ¤ê¼Î¤Æ¤ë¡£¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë¤Î¥ê¥¹¥È¤Ë¤Ï½ñ¸Ë
57 (archive) ¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤ë¡£ºÇÄã¤Ò¤È¤Ä¤Î¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë¤ò»Ø
62 .\"O modifies the files named in its argument,
63 .\"O rather than writing modified copies under different names.
65 ¤Ï½¤Àµ¤·¤¿ÆâÍƤòÊ̤Υե¡¥¤¥ë¤Ë½ñ¤½Ð¤¹¤Î¤Ç¤Ï¤Ê¤¯¡¢°ú¤¿ô¤Ë»Ø
66 Äꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤òľÀܽ¤Àµ¤¹¤ë¡£
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.
78 ¤Î¥ª¥Ö¥¸¥§¥¯¥È¥³¡¼¥É¥Õ¥©¡¼¥Þ¥Ã¥È¤ò
82 ¤Ë»ØÄꤵ¤ì¤¿¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç½ñ¤Ì᤹¡£
86 .\"O Show a summary of the options to
90 ¤Î¥ª¥×¥·¥ç¥ó¤ÎÍ×Ìó¤òɽ¼¨¤·¤Æ½ªÎ»¤¹¤ë¡£
95 .B "\-\-input\-target=\fIbfdname"
96 .\"O Treat the original \fIobjfile\fP as a file with the object
97 .\"O code format \fIbfdname\fP.
100 ¤Î¥ª¥Ö¥¸¥§¥¯¥È¥³¡¼¥É¥Õ¥©¡¼¥Þ¥Ã¥È¤ò
105 .B "\-O \fIbfdname\fP"
107 .B "\-\-output\-target=\fIbfdname"
108 .\"O Replace \fIobjfile\fP with a file in the output format \fIbfdname\fP.
112 ¥Õ¥©¡¼¥Þ¥Ã¥È¤Î½ÐÎϤǽñ¤´¹¤¨¤ë¡£
115 .B "\-R \fIsectionname\fP"
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 ʪ¤Ë¤Ê¤é¤Ê¤¯¤Ê¤ë²ÄǽÀ¤¬¤¢¤ë¡£
129 .\"O Remove all symbols.
130 Á´¤Æ¤Î¥·¥ó¥Ü¥ë¤òºï½ü¤¹¤ë¡£
138 .\"O Remove debugging symbols only.
139 ¥Ç¥Ð¥Ã¥®¥ó¥°¥·¥ó¥Ü¥ë¤Î¤ß¤òºï½ü¤¹¤ë¡£
142 .B \-\-strip\-unneeded
143 .\"O Strip all symbols that are not needed for relocation processing.
144 ¥ê¥í¥±¡¼¥·¥ç¥ó½èÍý¤ËÉÔɬÍפʥ·¥ó¥Ü¥ë¤òÁ´¤Æºï½ü¤¹¤ë¡£
147 .B \-N \fIsymbolname\fR
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
155 ¤È¤¤¤¦¥·¥ó¥Ü¥ë¤òºï½ü¤¹¤ë¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÊ£¿ôÍѤ¤¤ë¤³¤È¤â¤Ç¤¤ë¤·¡¢Â¾
156 ¤Î¥ª¥×¥·¥ç¥ó¤ÈƱ»þ¤Ë»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤ë¡£
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 ½èÍý¤ò¹Ô¤Ã¤¿·ë²Ì¤ò¸µ¤Î¥Õ¥¡¥¤¥ë¤ÈÃÖ¤´¹¤¨¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢
165 ¤Ë½ñ¤½Ð¤¹¡£¤³¤Î°ú¿ô¤¬ÍѤ¤¤é¤ì¤¿¾ì¹ç¤Ë¤Ï
167 ¤Ë»ØÄê¤Ç¤¤ë°ú¿ô¤Ï¤Ò¤È¤Ä¤À¤±¤Ç¤¢¤ë¡£
172 .B \-\-preserve-dates
173 .\"O Preserve the access and modification dates of the file.
174 ¥Õ¥¡¥¤¥ë¤Î¥¢¥¯¥»¥¹»þ¹ï¡¢½¤Àµ»þ¹ï¤òÊѹ¹¤·¤Ê¤¤¡£
180 .\"O Remove non-global symbols.
181 ¥°¥í¡¼¥Ð¥ë¤Ç¤Ê¤¤¥·¥ó¥Ü¥ë¤òºï½ü¤¹¤ë¡£
186 .B \-\-discard\-locals
187 .\"O Remove compiler-generated local symbols.
188 .\"O (These usually start with ``L'' or ``.''.)
189 ¥³¥ó¥Ñ¥¤¥é¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤¿¥í¡¼¥«¥ë¤Ê¥·¥ó¥Ü¥ë¤òºï½ü¤¹¤ë (¤³¤ì¤é¤ÏÄ̾ï
190 ``L'' ¤Þ¤¿¤Ï ``.'' ¤Ç»Ï¤Þ¤ëʸ»úÎó¤Ç¤¢¤ë)¡£
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.
198 ¤À¤±¤ò¸µ¤Î¥Õ¥¡¥¤¥ë¤«¤é¥³¥Ô¡¼¤¹¤ë¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÊ£¿ô»ØÄꤹ¤ë¤³¤È¤¬¤Ç
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.
208 ¤ò¸µ¤Î¥Õ¥¡¥¤¥ë¤«¤é¥³¥Ô¡¼¤·¤Ê¤¤¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÊ£¿ô»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¡¢
211 °Ê³°¤Î¾¤Î¥ª¥×¥·¥ç¥ó¤ÈÁȤ߹ç¤ï¤»¤ë¤³¤È¤â¤Ç¤¤ë¡£
217 .\"O Verbose output: list all object files modified. In the case of
220 .\"O lists all members of the archive.
221 ñÁÀå½ÐÎϥ⡼¥É¡£Êѹ¹¤µ¤ì¤¿Á´¤Æ¤Î¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë¤ò¥ê¥¹¥È¤¹¤ë¡£½ñ¸Ë
224 ¤È¤¹¤ë¤È¡¢½ñ¸ËÆâ¤Î¥á¥ó¥Ð¡¼Á´¤Æ¤ò¥ê¥¹¥È¤¹¤ë¡£
230 .\"O Show the version number for \fBstrip\fP and exit.
232 ¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤òɽ¼¨¤·¤Æ½ªÎ»¤¹¤ë¡£
236 .\"O .RB "`\|" binutils "\|'"
239 .\"O .IR "The GNU Binary Utilities" ,
240 .\"O Roland H. Pesch (October 1991).
242 ¤Î `\fB binutils \fP' ¥¨¥ó¥È¥ê¡¢
243 .IR "The GNU Binary Utilities" ,
244 Roland H. Pesch (October 1991)
248 Copyright (c) 1991 Free Software Foundation, Inc.
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.
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.
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.