diff options
author | Ian Lance Taylor <iant@google.com> | 2007-10-12 06:06:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-10-12 06:06:34 +0000 |
commit | 3b1cf1eb61f44c46d59c4a7e000dd54a8694f1c6 (patch) | |
tree | 9a24d4e97977cd4f617b657e1a08fa85f238053e /gold/output.h | |
parent | 7500dbe4ecc7ec00efe5bd1a5f8b54be590865ed (diff) | |
download | binutils-redhat-3b1cf1eb61f44c46d59c4a7e000dd54a8694f1c6.tar.gz |
Add an option for Stringpools to not copy strings.
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/output.h b/gold/output.h index 997a821bc0..c525a329c0 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) |