diff options
Diffstat (limited to 'gold/layout.cc')
-rw-r--r-- | gold/layout.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/layout.cc b/gold/layout.cc index ae2a5dc..4efb9c1 100644 --- a/gold/layout.cc +++ b/gold/layout.cc @@ -137,6 +137,10 @@ Layout::Layout(int number_of_input_files, Script_options* script_options) // Initialize structure needed for an incremental build. if (parameters->options().incremental()) this->incremental_inputs_ = new Incremental_inputs; + + // The section name pool is worth optimizing in all cases, because + // it is small, but there are often overlaps due to .rel sections. + this->namepool_.set_optimize(); } // Hash a key we use to look up an output section mapping. |