]> 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>
Wed, 23 Jul 2025 13:47:24 +0000 (10:47 -0300)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Thu, 24 Jul 2025 17:38:50 +0000 (19:38 +0200)
commit86fbb4cbb82d11db5a31841386db98ffc5ae4bdc
tree5cc5217dc992a73dce7139c8dc9ec75f531ac032
parenta12d72019e09aa03e548fa803f9e766fc50d9861
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