PR ld/3191
authorDaniel Jacobowitz <drow@false.org>
Mon, 8 Sep 2008 21:58:29 +0000 (21:58 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 8 Sep 2008 21:58:29 +0000 (21:58 +0000)
commit5609a71e6847895517a34efc352abb19e2ee7126
tree446b23251ba09acf7ddbd76f25034d6d243e0d51
parent95e54da724be3b6673da2432d0613e163be03db3
PR ld/3191
* dwarf2.c (struct adjusted_section): Renamed from struct
loadable_section.
(struct dwarf2_debug): Adjust for renaming.  Add version field.
(read_attribute_value): Correctly handle DW_FORM_ref_addr for
DWARF3.
(find_abstract_instance_name): Pass a pointer to
attribute instead of offset.  For DW_FORM_ref_addr, get the
entry at the offset from the .debug_info section.
(scan_unit_for_symbols): Update.
(parse_comp_unit): Allow DWARF3.  Save the version.
(unset_sections): Update for renaming.
(place_sections): Likewise.  Set new VMAs for DWARF sections
also.
bfd/ChangeLog
bfd/dwarf2.c