diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-19 01:23:46 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-19 01:23:46 +0000 |
commit | 2030fba084282b271caba7c8e32abfd847a8eca7 (patch) | |
tree | d8bc012f68af7cbb2f706495e54f40892b8c3d43 /gold/merge.h | |
parent | 9bb53bf8b866ee59d66c14250aee4bfaed0604ca (diff) | |
download | fsf-binutils-gdb-2030fba084282b271caba7c8e32abfd847a8eca7.zip fsf-binutils-gdb-2030fba084282b271caba7c8e32abfd847a8eca7.tar.gz fsf-binutils-gdb-2030fba084282b271caba7c8e32abfd847a8eca7.tar.bz2 |
Move Stringpool offsets into a chunked_vector indexed by keys.
Diffstat (limited to 'gold/merge.h')
-rw-r--r-- | gold/merge.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gold/merge.h b/gold/merge.h index 056c2c6..bf6a407 100644 --- a/gold/merge.h +++ b/gold/merge.h @@ -279,12 +279,14 @@ class Output_merge_string : public Output_merge_base const Char_type* string; // The length of the string in bytes, including the null terminator. size_t length; + // The key in the Stringpool. + Stringpool::Key stringpool_key; Merged_string(Relobj *objecta, unsigned int shndxa, section_offset_type offseta, const Char_type* stringa, - size_t lengtha) + size_t lengtha, Stringpool::Key stringpool_keya) : object(objecta), shndx(shndxa), offset(offseta), string(stringa), - length(lengtha) + length(lengtha), stringpool_key(stringpool_keya) { } }; |