gold/
authorCary Coutant <ccoutant@google.com>
Tue, 23 Oct 2012 21:41:37 +0000 (21:41 +0000)
committerCary Coutant <ccoutant@google.com>
Tue, 23 Oct 2012 21:41:37 +0000 (21:41 +0000)
commited5d6712b825edd0c4de10d7e7907d3332e6fe7e
tree3fb3691c937ea92d48736fc59c35f3002c2d4389
parent8787852de14e445e04bfb644c2c0d9178f807ec2
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.
gold/ChangeLog
gold/dwarf_reader.cc
gold/dwarf_reader.h
gold/gdb-index.cc