* dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
authorIan Lance Taylor <ian@airs.com>
Fri, 9 Oct 2009 23:05:21 +0000 (23:05 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 9 Oct 2009 23:05:21 +0000 (23:05 +0000)
commit75aea3d03d18b74edb7290a3af15d937fe79f6d4
treea80ec27670c210c93631fdd9d25ec2fdc9b0ed95
parent20e5b5c0ad071659fae9f1ec70954e414dc9c4cd
* dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
Change read_shndx type to unsigned int.
(Sized_dwarf_line_info::read_lines): Change shndx type to unsigned
int.
(Sized_dwarf_line_info::read_line_mappings): Likewise.
* dwarf_reader.h (Sized_dwarf_line_info::Sized_dwarf_line_info):
Change read_shndx type to unsigned int.
(Sized_dwarf_line_info::read_lines): Change shndx type to unsigned
int.
(Sized_dwarf_line_info::read_line_mappings): Likewise.
* layout.cc (Layout::create_symtab_sections): Cast the result of
local_symcount * symsize to off_t in the gold_assert.
gold/ChangeLog
gold/dwarf_reader.cc
gold/dwarf_reader.h
gold/layout.cc