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 | cfd73a4e26b2ff2a1bee75cf425a9ecffe0ce6cd (patch) | |
tree | 7f01e893f545165f30c1dbd3f5680a0b4e4a54cf /gold/dynobj.cc | |
parent | 0ffd9845f2a947b9249296d3bc7a812bad1f7e07 (diff) | |
download | gdb-cfd73a4e26b2ff2a1bee75cf425a9ecffe0ce6cd.zip gdb-cfd73a4e26b2ff2a1bee75cf425a9ecffe0ce6cd.tar.gz gdb-cfd73a4e26b2ff2a1bee75cf425a9ecffe0ce6cd.tar.bz2 |
Add an option for Stringpools to not copy strings.
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r-- | gold/dynobj.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/dynobj.cc b/gold/dynobj.cc index 805d869..f2cf8e1 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; |