OSDN Git Service

* object.cc (Sized_relobj::do_count): Test should_retain_symbol map.
authorcsilvers <csilvers>
Fri, 18 Sep 2009 20:02:21 +0000 (20:02 +0000)
committercsilvers <csilvers>
Fri, 18 Sep 2009 20:02:21 +0000 (20:02 +0000)
commit4053c84c47273ce096e0ce45865418038a15e33c
tree73e5306d1d71b7d8237831119475470869c625a8
parente4f11103ce6dc8102141ad306ca7832f00fc35cb
* object.cc (Sized_relobj::do_count): Test should_retain_symbol map.
* options.cc: Include <cerrno> and <fstream>.
(General_options::finalize): Parse -retain-symbols-file tag.
* options.h: New flag.
(General_options): New method should_retain_symbol, new
variable symbols_to_retain.
* symtab.cc (Symbol_table::sized_finalize_symbol): Test
should_retain_symbol map.
* testsuite/Makefile.am (retain_symbols_file_test): New test.
* testsuite/Makefile.in: Regenerate.
* testsuite/retain_symbols_file_test.sh: New file.
gold/object.cc
gold/options.cc
gold/options.h
gold/symtab.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/retain_symbols_file_test.sh [new file with mode: 0755]