[PATCH 09/12] objdump/readelf: adjust for SFRAME_VERSION_2

Hans-Peter Nilsson hp@bitrange.com
Wed Jun 28 23:04:10 GMT 2023


On Tue, 27 Jun 2023, Indu Bhagat via Binutils wrote:
> Make adjustments to account for a new format version and its name.
> Also shuffle some code to make it more readable and use the available
> APIs rather than direct access.
> 
> objdump/readelf will show the following message to the user if .sframe
> section in SFRAME_VERSION_1 format is seen:
> 
>  "No further information can be displayed.  SFrame version not
>  supported."
> 
> In other words, like the rest of the binutils, only the current SFrame
> format version, i.e., SFRAME_VERSION_2 is supported by the textual dump
> facilities.

A decision that IMHO is counter to binutils philosophy (AFAIU), 
unless version 1 is actually generated by nobody nowhere.

If there are object files out there generated with version 1, 
support should be kept, at the very least for inspection tools.

brgds, H-P


More information about the Binutils mailing list