From: Roland McGrath Date: Wed, 23 Feb 2011 18:54:30 +0000 (-0800) Subject: Add DW_AT_GNU_odr_signature expected value space. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7d3685431f4158ba4ceca514c4722fa7b088992;p=thirdparty%2Felfutils.git Add DW_AT_GNU_odr_signature expected value space. --- diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 51a24b7cd..1b85aebfc 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,8 @@ +2011-02-23 Roland McGrath + + * c++/dwarf-knowledge.cc (expected_value_space): + Grok DW_AT_GNU_odr_signature. + 2010-12-07 Petr Machata * c++/subr.hh (sharing_stack::element::pop): Remove. Move the diff --git a/libdw/c++/dwarf-knowledge.cc b/libdw/c++/dwarf-knowledge.cc index 3d8edeb55..5fdf123ed 100644 --- a/libdw/c++/dwarf-knowledge.cc +++ b/libdw/c++/dwarf-knowledge.cc @@ -12,7 +12,6 @@ using namespace elfutils; static unsigned int expected_value_space (int attr, int tag) { - switch (attr) { case DW_AT_sibling: @@ -154,6 +153,9 @@ expected_value_space (int attr, int tag) case DW_AT_MIPS_linkage_name: return VS(identifier); + + case DW_AT_GNU_odr_signature: + return VS(constant); } return 0;