Add an option for Stringpools to not copy strings.

This commit is contained in:
Ian Lance Taylor
2007-10-12 06:06:34 +00:00
parent 0ffd9845f2
commit cfd73a4e26
9 changed files with 57 additions and 47 deletions

View File

@@ -276,7 +276,7 @@ Output_merge_string<Char_type>::do_add_input_section(Relobj* object,
}
}
const Char_type* str = this->stringpool_.add(p, NULL);
const Char_type* str = this->stringpool_.add(p, true, NULL);
this->merged_strings_.push_back(Merged_string(object, shndx, i, str));