aboutsummaryrefslogtreecommitdiff
path: root/gold/output.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-12 06:06:34 +0000
committerIan Lance Taylor <iant@google.com>2007-10-12 06:06:34 +0000
commitcfd73a4e26b2ff2a1bee75cf425a9ecffe0ce6cd (patch)
tree7f01e893f545165f30c1dbd3f5680a0b4e4a54cf /gold/output.h
parent0ffd9845f2a947b9249296d3bc7a812bad1f7e07 (diff)
downloadgdb-cfd73a4e26b2ff2a1bee75cf425a9ecffe0ce6cd.zip
gdb-cfd73a4e26b2ff2a1bee75cf425a9ecffe0ce6cd.tar.gz
gdb-cfd73a4e26b2ff2a1bee75cf425a9ecffe0ce6cd.tar.bz2
Add an option for Stringpools to not copy strings.
Diffstat (limited to 'gold/output.h')
-rw-r--r--gold/output.h2
1 files changed, 1 insertions, 1 deletions
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)