binutils/
* dwarf.c (display_gdb_index): Support version 4, warn on version 3.
This commit is contained in:
parent
ca19b261ec
commit
6ec8b48eb8
|
@ -1,3 +1,8 @@
|
||||||
|
2011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* dwarf.c (display_gdb_index): Support version 4, warn on version 3.
|
||||||
|
|
||||||
2011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
|
2011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
* readelf.c (process_object): Free dynamic_section after use.
|
* readelf.c (process_object): Free dynamic_section after use.
|
||||||
|
|
|
@ -4893,8 +4893,14 @@ display_gdb_index (struct dwarf_section *section,
|
||||||
|
|
||||||
/* Prior versions are obsolete, and future versions may not be
|
/* Prior versions are obsolete, and future versions may not be
|
||||||
backwards compatible. */
|
backwards compatible. */
|
||||||
if (version != 3)
|
switch (version)
|
||||||
{
|
{
|
||||||
|
case 3:
|
||||||
|
warn (_("The address table data in version 3 may be wrong.\n"));
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
break;
|
||||||
|
default:
|
||||||
warn (_("Unsupported version %lu.\n"), (unsigned long) version);
|
warn (_("Unsupported version %lu.\n"), (unsigned long) version);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue