From cfd73a4e26b2ff2a1bee75cf425a9ecffe0ce6cd Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 12 Oct 2007 06:06:34 +0000 Subject: Add an option for Stringpools to not copy strings. --- gold/output.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/output.h') diff --git a/gold/output.h b/gold/output.h index 997a821..c525a32 100644 --- a/gold/output.h +++ b/gold/output.h @@ -1041,7 +1041,7 @@ class Output_data_dynamic : public Output_section_data // Add a new dynamic entry with a string. void add_string(elfcpp::DT tag, const char* str) - { this->add_entry(Dynamic_entry(tag, this->pool_->add(str, NULL))); } + { this->add_entry(Dynamic_entry(tag, this->pool_->add(str, true, NULL))); } void add_string(elfcpp::DT tag, const std::string& str) -- cgit v1.1