-2011-03-30 Cary Coutant <ccoutant@google.com>
+2011-04-05 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ PR gold/12640
+ * dwarf_reader.cc (Sized_dwarf_line_info): Fix vector bounds
+ violation.
+
+2011-03-30 Cary Coutant <ccoutant@google.com>
* archive.cc (Archive::include_member): Adjust call to report_object.
(Add_archive_symbols::run): Add script_info to call to
(script_add_library): Likewise.
* script.h (Script_options::Script_info): Rewrite class.
-2011-03-29 Cary Coutant <ccoutant@google.com>
+2011-03-29 Cary Coutant <ccoutant@google.com>
* archive.cc (Library_base::should_include_member): Move
method here from class Archive.
header_.opcode_base = *lineptr;
lineptr += 1;
- header_.std_opcode_lengths.reserve(header_.opcode_base + 1);
+ header_.std_opcode_lengths.resize(header_.opcode_base + 1);
header_.std_opcode_lengths[0] = 0;
for (int i = 1; i < header_.opcode_base; i++)
{