[PATCH 2/2] [readelf] Handle .gdb_index section version 9

Nick Clifton nickc@redhat.com
Mon Oct 9 13:49:09 GMT 2023


Hi Tom,

> Add the abilitity to print a v9 .gdb_index section.
> 
> The v9 section contains an extra table, which is printed as follows:

The patch looks good to me, except for one small issue:

> +  if (version > 9)
> +    {
> +      printf (_("\nShortcut table:\n"));
> +
[....]

Shouldn't that test be for "version >= 9" ?

Patch approved, possibly with a small change if the suggestion above is correct.

Cheers
   Nick



More information about the Binutils mailing list