diff options
author | Ian Lance Taylor <ian@airs.com> | 2008-07-24 07:23:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2008-07-24 07:23:20 +0000 |
commit | 5778530ea76fb119f3a77b0c699aa938369bc063 (patch) | |
tree | 30507cbded91cda28da55ea2586bc28dc874676c /gold/ChangeLog | |
parent | 7f649c59d1863d01c97a920232f86fdacaac2199 (diff) | |
download | binutils-gdb-5778530ea76fb119f3a77b0c699aa938369bc063.tar.gz |
* stringpool.cc (Stringpool_template::add_with_length): Set key to
array size plus one.
(Stringpool_template::set_string_offsets): Subtract one from key
before using it as an array index.
(Stringpool_template::get_offset_with_length): Likewise.
(Stringpool_template::write_to_buffer): Likewise.
* stringpool.h (Stringpool_template::get_offset_from_key):
Likewise.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index a1458995d30..3d5d94a7f9c 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,14 @@ +2008-07-24 Ian Lance Taylor <iant@google.com> + + * stringpool.cc (Stringpool_template::add_with_length): Set key to + array size plus one. + (Stringpool_template::set_string_offsets): Subtract one from key + before using it as an array index. + (Stringpool_template::get_offset_with_length): Likewise. + (Stringpool_template::write_to_buffer): Likewise. + * stringpool.h (Stringpool_template::get_offset_from_key): + Likewise. + 2008-07-23 Ian Lance Taylor <iant@google.com> PR 6658 |