This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch 4/7] [gold] Add read_from_pointer function template to Dwarf_info_reader.
- From: Ian Lance Taylor <iant at google dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 18 Oct 2012 11:44:19 -0700
- Subject: Re: [patch 4/7] [gold] Add read_from_pointer function template to Dwarf_info_reader.
- References: <20121018181648.2AC71E0AA0@ccoutant.mtv.corp.google.com>
On Thu, Oct 18, 2012 at 11:16 AM, Cary Coutant <ccoutant@google.com> wrote:
>
> gold/
> * dwarf_reader.cc (Dwarf_ranges_table::read_range_list): Call
> Dwarf_info_reader::read_from_pointer.
> (Dwarf_pubnames_table::read_header): Likewise.
> (Dwarf_pubnames_table::next_name): Likewise.
> (Dwarf_die::read_attributes): Likewise.
> (Dwarf_die::skip_attributes): Likewise.
> (Dwarf_info_reader::read_from_pointer): New function template.
> * dwarf_reader.h (Dwarf_ranges_table): Add dwinfo_.
> (Dwarf_pubnames_table): Likewise.
> (Dwarf_info_reader::read_from_pointer): New function template.
> * gdb-index.cc (Gdb_index_info_reader): Adjust call to
> Dwarf_pubnames_table ctor.
This is OK.
Thanks.
Ian