* readelf.c (dwarf_form_string): Handle DWARF 4 forms.
(attr_callback): Handle DW_FORM_flag_present, DW_FORM_exprloc,
- DW_FORM_sec_offset.
+ DW_FORM_sec_offset, DW_FORM_ref_sig8.
* readelf.c (print_debug): Don't bail if libdw setup fails.
Suppress complaint if we only want .eh_frame anyway.
dwarf_form_string (form), (uintmax_t) dwarf_dieoffset (&ref));
break;
+ case DW_FORM_ref_sig8:
+ printf (" %*s%-20s (%s) {%6" PRIx64 "}\n",
+ (int) (level * 2), "", dwarf_attr_string (attr),
+ dwarf_form_string (form),
+ read_8ubyte_unaligned (attrp->cu->dbg, attrp->valp));
+ break;
+
case DW_FORM_sec_offset:
attrp->form = cbargs->offset_size == 8 ? DW_FORM_data8 : DW_FORM_data4;
/* Fall through. */