OSDN Git Service

Sriraman Tallam <tmsriram@google.com>
authorSriraman Tallam <tmsriram@google.com>
Wed, 12 Aug 2009 19:03:16 +0000 (19:03 +0000)
committerSriraman Tallam <tmsriram@google.com>
Wed, 12 Aug 2009 19:03:16 +0000 (19:03 +0000)
commit1a838d4650d7beed0c1cbba3c5995fdf980bf52f
treebd54c88d82a031b04e504e8cd668dfb0f64b1fad
parentf8256d27aa27f1d28d72932970661a88c9954f5e
Sriraman Tallam  <tmsriram@google.com>

* icf.cc (Icf::find_identical_sections): Unfold symbols that have
been maked as --keep-unique.
(Icf::unfold_section): New function.
* icf.h (Icf::unfold_section): New function.
* options.h (General_options::keep_unique): New option.
* testsuite/Makefile.am: Add commands to build icf_keep_unique_test.
* testsuite/Makefile.in: Regenerate.
* testsuite/icf_keep_unique_test.sh: New file.
* testsuite/icf_keep_unique_test.cc: New file.
gold/ChangeLog
gold/icf.cc
gold/icf.h
gold/options.h
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/icf_keep_unique_test.cc [new file with mode: 0644]
gold/testsuite/icf_keep_unique_test.sh [new file with mode: 0755]