Allow target to decide whether to include a section.
authorCary Coutant <ccoutant@google.com>
Tue, 15 Apr 2014 18:24:30 +0000 (11:24 -0700)
committerCary Coutant <ccoutant@google.com>
Tue, 15 Apr 2014 18:56:18 +0000 (11:56 -0700)
commit99fd8cfff7a9da67efc2e6c627176f5c767c6e7d
tree90c4ff3cb8fb668ab8bb7e17adc06654de339482
parent91f43acd5d692518f95a901e92dec7dbb6347564
Allow target to decide whether to include a section.

2014-04-15  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>

gold/
* layout.cc (Layout::include_section): Allow a target to decide
whether to include a section.
* target.h (Target::should_include_section): New function.
(Target::do_should_include_section): New function.
gold/ChangeLog
gold/layout.cc
gold/target.h