]> git.ipfire.org Git - thirdparty/glibc.git/commit
sframe: Add support for SFRAME_F_FDE_FUNC_START_PCREL flag
authorClaudiu Zissulescu <claudiu.zissulescu-ianculescu@oracle.com>
Tue, 22 Jul 2025 15:55:51 +0000 (12:55 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 24 Jul 2025 18:51:58 +0000 (15:51 -0300)
commit072b5a9922ee6711c00c7c38dec96873dd7b9916
tree5cc5217dc992a73dce7139c8dc9ec75f531ac032
parent20528165bda5286f8c5c2d20200699a354eb9a0a
sframe: Add support for SFRAME_F_FDE_FUNC_START_PCREL flag

The Sframe V2 has a new errata which introduces the
SFRAME_F_FDE_FUNC_START_PCREL flag. This flag indicates the encoding
of the SFrame FDE function start address field like this:

- if set, sfde_func_start_address field contains the offset in bytes
to the start PC of the associated function from the field itself.

- if unset, sfde_func_start_address field contains the offset in bytes
to the start PC of the associated function from the start of the
SFrame section.

Signed-off-by: Claudiu Zissulescu <claudiu.zissulescu-ianculescu@oracle.com>
Reviewed-by: Sam James <sam@gentoo.org>
sysdeps/generic/sframe-read.c
sysdeps/generic/sframe-read.h
sysdeps/generic/sframe.h