Version 8 just indicates that if the .gdb_index was generated by the gold
linker it correctly includes TUs for symbols. http://sourceware.org/PR15021
Signed-off-by: Mark Wielaard <mjw@redhat.com>
+2013-03-18 Mark Wielaard <mjw@redhat.com>
+
+ * readelf.c (print_gdb_index_section): Accept version 8.
+
2013-03-01 Mark Wielaard <mjw@redhat.com>
* findtextrel.c (process_file): Release ELF and close file when not
2013-03-01 Mark Wielaard <mjw@redhat.com>
* findtextrel.c (process_file): Release ELF and close file when not
/* Print information from ELF file in human-readable form.
/* Print information from ELF file in human-readable form.
- Copyright (C) 1999-2012 Red Hat, Inc.
+ Copyright (C) 1999-2013 Red Hat, Inc.
This file is part of elfutils.
Written by Ulrich Drepper <drepper@redhat.com>, 1999.
This file is part of elfutils.
Written by Ulrich Drepper <drepper@redhat.com>, 1999.
// The only difference between version 4 and version 5 is the
// hash used for generating the table. Version 6 contains symbols
// The only difference between version 4 and version 5 is the
// hash used for generating the table. Version 6 contains symbols
- // for inlined functions, older versions didn't.
- if (vers < 4 || vers > 7)
+ // for inlined functions, older versions didn't. Version 7 adds
+ // symbol kinds. Version 8 just indicates that it correctly includes
+ // TUs for symbols.
+ if (vers < 4 || vers > 8)
{
printf (gettext (" unknown version, cannot parse section\n"));
return;
{
printf (gettext (" unknown version, cannot parse section\n"));
return;