summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2011-02-23 09:23:08 -0800
committerRoland McGrath <roland@redhat.com>2011-02-23 09:23:08 -0800
commit47c5323527dcc954d2d60e9ee87211597aabd101 (patch)
tree3dec6f549f8a53d23cb84f6b77e8ee2ab0dd169c
parent170ecbd2b0578aa9b9408432dbca1fada0f9d80e (diff)
downloadelfutils-47c5323527dcc954d2d60e9ee87211597aabd101.tar.gz
Handle DW_AT_GNU_odr_signature in readelf.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/readelf.c6
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d3d45b09..c8b897a9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-23 Roland McGrath <roland@redhat.com>
+
+ * readelf.c (dwarf_attr_string): Grok DW_AT_GNU_odr_signature.
+
2011-02-11 Roland McGrath <roland@redhat.com>
* elfcmp.c (verbose): New variable.
diff --git a/src/readelf.c b/src/readelf.c
index 81ef6a9f..0e50a692 100644
--- a/src/readelf.c
+++ b/src/readelf.c
@@ -1,5 +1,5 @@
/* Print information from ELF file in human-readable form.
- Copyright (C) 1999-2010 Red Hat, Inc.
+ Copyright (C) 1999-2011 Red Hat, Inc.
This file is part of Red Hat elfutils.
Written by Ulrich Drepper <drepper@redhat.com>, 1999.
@@ -3507,6 +3507,10 @@ dwarf_attr_string (unsigned int attrnum)
result = "GNU_vector";
break;
+ case DW_AT_GNU_odr_signature:
+ result = "GNU_odr_signature";
+ break;
+
case DW_AT_GNU_template_name:
result = "GNU_template_name";
break;