* dwarf_reader.h (class Sized_dwarf_line_info): Add
authorIan Lance Taylor <ian@airs.com>
Wed, 1 Dec 2010 19:49:22 +0000 (19:49 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 1 Dec 2010 19:49:22 +0000 (19:49 +0000)
commit4dbfafccf0dd346e7a73cddf85c600aa7afa3644
tree48e04173f24d3f0584279ae2a043809cbe100616
parent148c11bf2e571032ff6b7baa6c364a2b01f0b42e
* dwarf_reader.h (class Sized_dwarf_line_info): Add
track_relocs_type_ field.
* dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
Set track_relocs_type_.
(Sized_dwarf_line_info::process_one_opcode): Ignore the section
contents when using RELA relocs.
(Sized_dwarf_line_info::read_relocs): Add the reloc addend to
reloc_map_.
* reloc.cc (Track_relocs::next_addend): New function.
* reloc.h (class Track_relocs): Declare next_addend.
gold/ChangeLog
gold/dwarf_reader.cc
gold/dwarf_reader.h
gold/reloc.cc
gold/reloc.h