summaryrefslogtreecommitdiff
path: root/gold/dynobj.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r--gold/dynobj.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/dynobj.cc b/gold/dynobj.cc
index 805d869f2e..f2cf8e156e 100644
--- a/gold/dynobj.cc
+++ b/gold/dynobj.cc
@@ -1250,7 +1250,7 @@ Versions::record_version(const General_options* options,
gold_assert(sym->version() != NULL);
Stringpool::Key version_key;
- const char* version = dynpool->add(sym->version(), &version_key);
+ const char* version = dynpool->add(sym->version(), false, &version_key);
if (!sym->is_from_dynobj())
{
@@ -1326,7 +1326,7 @@ Versions::add_need(Stringpool* dynpool, const char* filename, const char* name,
Stringpool::Key name_key)
{
Stringpool::Key filename_key;
- filename = dynpool->add(filename, &filename_key);
+ filename = dynpool->add(filename, true, &filename_key);
Key k(name_key, filename_key);
Version_base* const vbnull = NULL;