Add an option for Stringpools to not copy strings.

This commit is contained in:
Ian Lance Taylor 2007-10-12 06:06:34 +00:00
parent 0ffd9845f2
commit cfd73a4e26
9 changed files with 57 additions and 47 deletions

View file

@ -652,7 +652,7 @@ Sized_relobj<size, big_endian>::do_finalize_local_symbols(unsigned int index,
}
const char* name = pnames + sym.get_st_name();
pool->add(name, NULL);
pool->add(name, true, NULL);
lv.set_output_symtab_index(index);
++index;
++count;