This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH GOLD] [1/N mingw host] fix up off_t usage


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]