[PATCH 3/5] libsframe: make flip_fde version aware

Jens Remus jremus@linux.ibm.com
Tue Nov 4 13:57:12 GMT 2025


Hello Indu,

regarding your commit subject:  Doesn't this effectively make
flip_sframe version aware by making flip_fde version aware and
introducing a new version-aware sframe_decode_fde? 

On 11/3/2025 8:52 PM, Indu Bhagat wrote:
> Future versions of the format may have a different representation of an
> SFrame FDE.  As the format evolves, endian flipping will need to be version
> aware.
> 
> Refactor flip_fde a bit by carving out an internal sframe_decode_fde API
> which can read information from an on-disk SFrame FDE.
> 
> libsframe/
>         * sframe.c (flip_fde): Make version aware.
>         (sframe_decode_fde): New internal definition.
>         (flip_sframe): Use the new definitions.

Reviewed-by: Jens Remus <jremus@linux.ibm.com>

Regards,
Jens
-- 
Jens Remus
Linux on Z Development (D3303)
+49-7031-16-1128 Office
jremus@de.ibm.com

IBM

IBM Deutschland Research & Development GmbH; Vorsitzender des Aufsichtsrats: Wolfgang Wendt; Geschäftsführung: David Faller; Sitz der Gesellschaft: Böblingen; Registergericht: Amtsgericht Stuttgart, HRB 243294
IBM Data Privacy Statement: https://www.ibm.com/privacy/



More information about the Binutils mailing list