2010-09-28 Sriraman Tallam <tmsriram@google.com>
authorSriraman Tallam <tmsriram@google.com>
Tue, 28 Sep 2010 17:14:15 +0000 (17:14 +0000)
committerSriraman Tallam <tmsriram@google.com>
Tue, 28 Sep 2010 17:14:15 +0000 (17:14 +0000)
commitc95e9f279130c09af2c427065700e3e08500b168
tree78e7735b04680083b0cbc1d67e17d4c024dae2cd
parent22e603ef762487e8a761d443a94168493a46db25
2010-09-28  Sriraman Tallam  <tmsriram@google.com>

* target.h (Target::can_icf_inline_merge_sections): New virtual
function.
* x86_64.cc (Target__x86_64::can_icf_inline_merge_sections): New
virtual function.
* i386.cc (Target_i386::can_icf_inline_merge_sections): New
virtual function.
* icf.cc (get_section_contents): Inline merge sections only when
target allows it.
gold/ChangeLog
gold/i386.cc
gold/icf.cc
gold/target.h
gold/x86_64.cc