PR 10133
authorIan Lance Taylor <ian@airs.com>
Tue, 23 Jun 2009 07:04:10 +0000 (07:04 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 23 Jun 2009 07:04:10 +0000 (07:04 +0000)
commitf7c8a183e8d2c83eddadddb3b473338abf30a1d5
treed2bceeacff8a0d85d0dac1baff52cd9c84548ede
parente6a307bae3aac48d98d01f51308e238aeabbdfd4
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