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)
commit48c187ced8fcf0c09c26ab1782e63752bf206b4e
tree139f6a887edb3544c108164fee359016f5a5a48f
parent645afe0c5b028b013231f5890f66376e4dfc811d
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]