From: Roland McGrath Date: Mon, 21 Sep 2009 23:42:19 +0000 (-0700) Subject: DW_AT_const_value can take an address too. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50fd4fbdee22a7d9038d60e4c9a85de1921a4686;p=thirdparty%2Felfutils.git DW_AT_const_value can take an address too. --- diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 4ee405f8c..5d4a6ee35 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,8 @@ +2009-09-21 Roland McGrath + + * c++/dwarf-knowledge.cc (expected_value_space): DW_AT_const_value can + take an address too. + 2009-09-08 Roland McGrath * c++/dwarf_output: Match duplicates going into the collector even diff --git a/libdw/c++/dwarf-knowledge.cc b/libdw/c++/dwarf-knowledge.cc index c4c7a8114..3d8edeb55 100644 --- a/libdw/c++/dwarf-knowledge.cc +++ b/libdw/c++/dwarf-knowledge.cc @@ -106,7 +106,7 @@ expected_value_space (int attr, int tag) return VS(source_file); case DW_AT_const_value: - return VS(constant) | VS(string); + return VS(constant) | VS(string) | VS(address); case DW_AT_is_optional: case DW_AT_prototyped: