̾??
strip -
???֥??????ȥե????뤫?饷???ܥ??κ???
strip [-F bfdname
⎪--target=bfdname]
[-I bfdname ⎪--input-target=bfdname]
[-O bfdname ⎪--output-target=bfdname]
[-s⎪--strip-all]
[-S⎪-g⎪-d⎪--strip-debug]
[-K symbolname ⎪--keep-symbol=symbolname]
[-N symbolname ⎪--strip-symbol=symbolname]
[-w⎪--wildcard]
[-x⎪--discard-all] [-X
⎪--discard-locals]
[-R sectionname
⎪--remove-section=sectionname]
[-o file] [-p⎪--preserve-dates]
[--only-keep-debug]
[-v ⎪--verbose] [-V⎪--version]
[--help] [--info]
objfile...
GNU strip ?ϥ??֥??????ȥե?????
objfile
???饷???ܥ??٤ƺ??????ޤ???
???֥??????ȥե??????Υꥹ?Ȥ˥????????֤??ޤޤ??Ƥ??Ƥ???ޤ?????
???ʤ??Ȥ??ҤȤĤΥ??֥??????ȥե????뤬ɬ?פǤ???
strip
???ѹ????줿???ԡ?????̾?Ǻ?????????
?????ǻ??ꤷ???ե????뤽?Τ??Τ??ѹ????ޤ???
- -F bfdname
- --target=bfdname
- ???ꥸ?ʥ??? bfdname
???֥??????ȥ????ɷ????Υե??????Ȥ??ư?????
??????Ʊ???????Ǿ????ޤ???
- --help
- strip
?Υ??ץ??????ΰ?????ɽ?????ƽ?λ???ޤ???
- --info
- ???Ѳ?ǽ?ʥ??????ƥ??????ȥ??֥??????ȷ????Τ??٤Ƥΰ?????
ɽ?????ޤ???
- -I bfdname
- --input-target=bfdname
- ???ꥸ?ʥ??? objfile ?? bfdname
???֥??????ȥ????ɷ????Υե??????Ȥ??ư????ޤ???
- -O bfdname
- --output-target=bfdname
- objfile ?? bfdname
???Ϸ????Υե????????֤??????ޤ???
- -R
sectionname
- --remove-section=sectionname
- ???ϥե????뤫?? sectionname
?Ȥ???̾???Υ??????????????????ޤ???
???Υ??ץ??????? 1
???ʾ??Ȥ????Ȥ??Ǥ??ޤ???
???Υ??ץ?????????Ŭ?ڤ˻??Ѥ????ȡ????֥??????ȥե????뤬
???ѤǤ??ʤ??ʤ뤫?⤷???ʤ????Ȥ????դ??Ƥ?????????
- -s
- --strip-all
- ???٤ƤΥ????ܥ??????????ޤ???
- -g
- -S
- -d
- --strip-debug
- ?ǥХå??????ܥ??????????????ޤ???
- --strip-unneeded
- ?????ֽ???????ɬ?פʥ????ܥ??٤ƺ??????ޤ???
- -K symbolname
- --keep-symbol=symbolname
- ???ե??????Υ????ܥ? symbolname
???????ݻ????ޤ??? ???Υ??ץ??????? 1
???ʾ??Ȥ????Ȥ??Ǥ??ޤ???
- -N symbolname
- --strip-symbol=symbolname
- ???ե????뤫?饷???ܥ? symbolname
?????????ޤ??? ???Υ??ץ??????? 1
???ʾ??Ȥ????Ȥ??Ǥ????ޤ? -K
?ʳ??? strip
?Υ??ץ???????ʻ?Ѥ??뤳?Ȥ??Ǥ??ޤ???
- -o file
- ¸?ߤ????ե????????֤??????????????ˡ? strip
???줿???Ϥ? file ?˽Ф??ޤ???
???ΰ????????Ѥ??????ˤϡ?objfile ?????? 1
?Ĥ????????Ǥ??ޤ?????
- -p
- --preserve-dates
- ?ե??????Υ????????????ȹ???????????¸???ޤ???
- -w
- --wildcard
- ¾?Υ??ޥ??ɹԥ??ץ??????ǻ??Ѥ?????
symbolnames ?ˤ????ơ?
????ɽ???λ??Ѥ????Ĥ??ޤ??? ??????
(?)?????????ꥹ?? (*)???Хå??????å??? (\)??
?ѳ??? ([])
?α黻?Ҥ??ܥ?̾?Τɤ??Ǥ????ѤǤ??ޤ???
?????ܥ?̾?κǽ???ʸ??????ò?? (!)
?Ǥ??????硢???Υ????ܥ???
?Ф??륹???å??ΰ?̣??ȿž???ޤ???
?㤨?С?????
-w -K !foo -K fo*
?Ǥϡ?ʸ?? ``fo''
?ǻϤޤ륷???ܥ????????ݻ?????
?????ܥ? ``foo''
???˴????뤳?Ȥˤʤ??ޤ???
- -x
- --discard-all
- ???????Х??Ǥʤ??????ܥ??????????ޤ???
- -X
- --discard-locals
- ?????ѥ????ˤ??ä????????줿???????륷???ܥ?
(???????̾? L ?? .
?ǻϤޤ??ޤ???) ?????????ޤ???
- --only-keep-debug
- ?ե????뤫???????????ݤˡ?--strip-debug
?ˤ????????????????Τ?
???٤ƽ???Ĥġ??ǥХå??ѥ??????????ϻĤ??ޤ???
???Υ??ץ??????ΰտޤϡ?--add-gnu-debuglink
?Ȱ????˻Ȥ??? 2
?ѡ??Ȥμ¹Բ?ǽ?????????????뤳?Ȥˤ????ޤ???
?????ˡ??????ѤߤΥХ??ʥ?????????
RAM ???̤? ???꾯?ʤ??ʤ뤳?ȡ?
?????ˡ??ǥХå???ǽ??ɬ?פʾ????Τ?
?ǥХå??????ե????뤬ɬ?פȤʤ뤳?ȤǤ???
???????Υե????????????????˺ݤ????侩?????????ϼ????̤??Ǥ???
- 1.<?¹Բ?ǽ???????????̤??????롣????̾????>
- "foo" ?Ȥ??롣
- 1.<"objcopy --only-keep-debug foo foo.dbg"
???¹Ԥ?>
- ?ǥХå????????ޤ??ե??????????????롣
- 1.<"objcopy --strip-debug foo" ???¹Ԥ?>
- ???ȥ??åפ??줿?¹Բ?ǽ?????????????롣
- 1.<"objcopy --add-gnu-debuglink=foo.dbg
foo"???¹Ԥ?>
- ???ȥ??åפ??줿?¹Բ?ǽ?????ˡ??ǥХå??????ؤΥ????ɲä??롣
???? -
?ǥХå??????ե??????γ?ĥ?Ҥ????ֺݤ?
".dbg" ??
?Ȥ????Ȥ?Ǥ?դǤ???
"--only-keep-debug"
?Υ??ƥåפ?
??ά??ǽ?Ǥ??????????˼??Τ褦?ˤ??뤳?Ȥ??Ǥ??ޤ???
- 1.<?̾??̤??¹Բ?ǽ????????????>
- 1.<"foo" ??
"foo.full"?˥??ԡ?????>
- 1.<"strip --strip-debug foo"???¹Ԥ???>
- 1.<"objcopy --add-gnu-debuglink=foo.full foo
?????ǡ?--add-gnu-debuglink
?ˤ????ؤ??????줿?ե???????
?????¹Բ?ǽ?????Ǥ???
?????ϡ?--only-keep-debug ?????å??ˤ?????????????
ɬ?פϤ????ޤ?????
- -V
- --version
- strip
?ΥС?????????ɽ?????ƽ?λ???ޤ???
- -v
- --verbose
- ??Ĺ?ʽ???:
?ѹ????줿???٤ƤΥ??֥??????ȥե??????????ޤ???
?????????֤ξ??硢 strip -v
?ϥ????????֤Τ??٤ƤΥ????Ф????ޤ???
Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001,
2002, 2003 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.1
or any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
A copy of the license is included in the section entitled ``GNU Free
Documentation License''.