aboutsummaryrefslogtreecommitdiff
path: root/gold/symtab.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/symtab.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/symtab.h')
-rw-r--r--gold/symtab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/symtab.h b/gold/symtab.h
index 258c99f..0dabd51 100644
--- a/gold/symtab.h
+++ b/gold/symtab.h
@@ -872,7 +872,7 @@ class Symbol_table
// Canonicalize a symbol name for use in the hash table.
const char*
canonicalize_name(const char* name)
- { return this->namepool_.add(name, NULL); }
+ { return this->namepool_.add(name, true, NULL); }
// Possibly issue a warning for a reference to SYM at LOCATION which
// is in OBJ.