* dwarf2.c (read_attribute_value): Handle CU version 4
authorJakub Jelinek <jakub@redhat.com>
Thu, 1 Apr 2010 05:24:52 +0000 (05:24 +0000)
committerJakub Jelinek <jakub@redhat.com>
Thu, 1 Apr 2010 05:24:52 +0000 (05:24 +0000)
commitc07cbdd706fb9521b85fa100bb7507c44f92653f
tree132e6be1203a55c6cdafac3074cd24e530fcf7b5
parent0db9b91c94a19133307e24644b54bbad1f1c0033
* dwarf2.c (read_attribute_value): Handle CU version 4
for DW_FORM_ref_addr, handle DW_FORM_sec_offset, DW_FORM_exprloc
and DW_FORM_flag_present.  For unknown form value return NULL.
(scan_unit_for_symbols): For DW_AT_location handle DW_FORM_exprloc
like DW_FORM_block.
(parse_comp_unit): Allow CU version 4.
bfd/ChangeLog
bfd/dwarf2.c