Update list of debug sections for --strip-debug-xxx options.
authorCary Coutant <ccoutant@google.com>
Wed, 26 Nov 2014 22:41:46 +0000 (14:41 -0800)
committerCary Coutant <ccoutant@google.com>
Wed, 26 Nov 2014 22:41:46 +0000 (14:41 -0800)
commit982bbd97c56073d9524b71526dc5911ec32124ca
tree794cd3769f1f65a44b239a3c0eda93be0efe623e
parentbb779192aecf89975aef7a16e1ea67789b5f38dd
Update list of debug sections for --strip-debug-xxx options.

Add .debug_gdb_scripts, .debug_gnu_pubnames, .debug_gnu_pubtypes,
and .debug_str_offsets to lists of sections to strip or keep
when stripping debug info.

gold/
* layout.cc (gdb_sections): Keep .debug_gdb_scripts and
.debug_str_offsets; strip .debug_gnu_pubnames and
.debug_gnu_pubtypes.
(lines_only_debug_sections): Strip all four new sections.
gold/ChangeLog
gold/layout.cc