This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
d762fbe dwarflint: Fix DW_FORM_ref_addr dwarf_64/addr_64 mixup
- From: Roland McGrath <roland at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 04 Aug 2009 15:40:58 -0700
- Subject: d762fbe dwarflint: Fix DW_FORM_ref_addr dwarf_64/addr_64 mixup
The ref_addr treatment needs to look at the version field from the CU
header (see libdw/dwarf_formref_die.c). For version 2, ref_addr is
address_size. For version 3, ref_addr is offset_size.
Thanks,
Roland