OSDN Git Service

PR 10133
authorian <ian>
Tue, 23 Jun 2009 07:04:10 +0000 (07:04 +0000)
committerian <ian>
Tue, 23 Jun 2009 07:04:10 +0000 (07:04 +0000)
commit5f3b10b07e0b4a9d7799c51cea93c87c85983d65
tree5977eaf61c3f688a07ce8b205752cb8cd402b37b
parentd6fc82561d36bac65816e504d63c48c90575d660
PR 10133
* stringpool.h (class Stringpool_template): Add optimize_ field.
(Stringpool_template::set_optimize): New function.
* stringpool.cc (Stringpool_template::Stringpool_template):
Initialize optimize_ field.
(Stringpool_template::set_string_offsets): Test local optimize
fild rather than parameter.
* layout.cc (Layout::Layout): Call set_optimize on the section
name stringpool.
gold/ChangeLog
gold/layout.cc
gold/stringpool.cc
gold/stringpool.h