twl_wrapsdk/tools/stripdebug
shirait 45684e38f1 add stripdebug tool
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@161 4ee2a332-4b2b-5046-8439-1ba90f034370
2007-07-03 01:56:37 +00:00
..
arch.c add stripdebug tool 2007-07-03 01:56:37 +00:00
arch.h add stripdebug tool 2007-07-03 01:56:37 +00:00
elf_loader.c add stripdebug tool 2007-07-03 01:56:37 +00:00
elf_loader.h add stripdebug tool 2007-07-03 01:56:37 +00:00
elf.c add stripdebug tool 2007-07-03 01:56:37 +00:00
elf.h add stripdebug tool 2007-07-03 01:56:37 +00:00
loader_subset.c add stripdebug tool 2007-07-03 01:56:37 +00:00
loader_subset.h add stripdebug tool 2007-07-03 01:56:37 +00:00
Makefile add stripdebug tool 2007-07-03 01:56:37 +00:00
readme.txt add stripdebug tool 2007-07-03 01:56:37 +00:00
searcharg.c add stripdebug tool 2007-07-03 01:56:37 +00:00
searcharg.h add stripdebug tool 2007-07-03 01:56:37 +00:00
stripdebug.c add stripdebug tool 2007-07-03 01:56:37 +00:00
types.h add stripdebug tool 2007-07-03 01:56:37 +00:00
version.h add stripdebug tool 2007-07-03 01:56:37 +00:00

・stripdebug

elfファイルからデバッグ情報を削除します。
具体的には、以下の情報を削除します。

・デバッグセクションのセクションヘッダ
・デバッグセクションの中身
・シンボルセクションのデバッグシンボルエントリ
・セクション文字列テーブルの中のデバッグセクション用文字列エントリ
・シンボル文字列テーブルの中のデバッグシンボル用文字列エントリ

stripコマンドとの相違点は次の通りです。

・セクションを並び換えない
・セクションの先頭アドレスを示すシンボルを生成しない
・セクション文字列テーブルおよびシンボル文字列テーブルの文字列を
 重複して参照しない
・元ファイルにセクション対応テーブルをスペシャルセクションとして
 追加する(未実装)