This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH GOLD] [1/N mingw host] fix up off_t usage
- From: Ian Lance Taylor <iant at google dot com>
- To: Andrew Pinski <Andrew_Pinski at playstation dot sony dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Fri, 09 Oct 2009 16:05:32 -0700
- Subject: Re: [PATCH GOLD] [1/N mingw host] fix up off_t usage
- References: <de8d50360910061659n74914ccfh69649c2a2cb87c3d@mail.gmail.com>
Andrew Pinski <Andrew_Pinski@playstation.sony.com> writes:
> elfcpp/elfcpp_file.h (Elf_file::section_name): Correct type of shstr_off.
>
> gold/ChangeLog:
>
> * 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.
Approved and applied.
Thanks.
Ian