summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-03-29 01:55:41 +0000
committerTom Tromey <tromey@redhat.com>2012-03-29 01:55:41 +0000
commitf157a03a901a467a364478733ecbc5bcb64e088e (patch)
treeb10ca6da20e15e6885194659b8a03f684f0fd278
parent07a74c641b79824a50b5dcf4e5af59c1227d3aa9 (diff)
downloadbinutils-redhat-f157a03a901a467a364478733ecbc5bcb64e088e.tar.gz
* dwarf.c (display_gdb_index): Handle index version 6.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/dwarf.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 425f9268b2..d229810f5e 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-28 Tom Tromey <tromey@redhat.com>
+
+ * dwarf.c (display_gdb_index): Handle index version 6.
+
2012-03-07 Nick Clifton <nickc@redhat.com>
* readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 5ad9b93a80..def71fb327 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -1,5 +1,5 @@
/* dwarf.c -- display DWARF contents of a BFD binary file
- Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011
+ Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -5551,6 +5551,9 @@ display_gdb_index (struct dwarf_section *section,
warn (_("Version 4 does not support case insensitive lookups.\n"));
break;
case 5:
+ warn (_("Version 5 does not include inlined functions.\n"));
+ break;
+ case 6:
break;
default:
warn (_("Unsupported version %lu.\n"), (unsigned long) version);