binutils-gdb/libsframe
Indu Bhagat 0bdf18b8a5 [SFrame-V3] sframe: gas: bfd: add support for signal frames
Reserve a bit in function info byte in the SFrame FDE to designate
signal frames.

Also update the SFrame opt code in GAS and dumping routines in libsframe
to handle signal frame bit.

include/
	* sframe.h (SFRAME_V3_FDE_SIGNAL_P): Extract signal frame bit.
	(SFRAME_V3_FDE_UPDATE_SIGNAL_P): Set signal frame bit.
gas/
	* gen-sframe.c (get_dw_fde_signal_p): New function to retrieve signal
	frame state from DWARF FDE.
	(sframe_v3_set_func_info): Renamed from sframe_v1_set_func_info.
	Accept signal_p argument and encode it.
	(sframe_set_version): Update ops to use sframe_v3_set_func_info.
	(sframe_set_func_info): Pass signal_p to the ops hook.
	(output_sframe_funcdesc): Retrieve signal frame marker and pass to
	sframe_set_func_info.
	* gen-sframe.h (struct sframe_version_ops): Update set_func_info
	signature.
	* sframe-opt.c (sframe_convert_frag): Preserve signal_p bit during
	fragment conversion.  While at it, use SFRAME_V3_* macros where
	applicable.
libsframe/testsuite/
	* gas/cfi-sframe/cfi-sframe-common-13.d: New test.
	* gas/cfi-sframe/cfi-sframe-common-13.s: New test.
	* gas/cfi-sframe/cfi-sframe.exp: Run new test.
libsframe/
	* sframe-dump.c (dump_sframe_func_with_fres): Decode signal frame bit
	and print "S" attribute in the dump output.
2026-01-15 17:02:24 -08:00
..
doc Update year range in copyright notice of binutils files 2026-01-01 23:22:14 +10:30
testsuite [SFrame-V3] include: libsframe: bfd: gas: testsuite: support for signed 64-bit offset in SFrame FDE 2026-01-15 17:02:24 -08:00
aclocal.m4 Binutils: Add clang LTO support to AR and RANLIB 2025-09-25 12:30:13 +08:00
config.h.in
configure tidy m4 plugin config support 2025-11-03 10:59:50 +10:30
configure.ac Update year range in copyright notice of binutils files 2026-01-01 23:22:14 +10:30
libsframe.ver [SFrame-V3] libsframe: add V3 APIs for adding and getting SFrame FDE 2026-01-15 17:02:24 -08:00
libtool-version [SFrame-V3] libsframe: bump so version to libsframe.so.3.0.0 2026-01-15 17:02:24 -08:00
Makefile.am Update year range in copyright notice of binutils files 2026-01-01 23:22:14 +10:30
Makefile.in [SFrame-V3] libsframe: testsuite: add a new test for SFrame V2 2026-01-15 17:02:23 -08:00
README libsframe: add README and mention expectations 2026-01-05 11:53:13 -08:00
sframe-dump.c [SFrame-V3] sframe: gas: bfd: add support for signal frames 2026-01-15 17:02:24 -08:00
sframe-error.c Update year range in copyright notice of binutils files 2026-01-01 23:22:14 +10:30
sframe-impl.h Update year range in copyright notice of binutils files 2026-01-01 23:22:14 +10:30
sframe.c [SFrame-V3] include: libsframe: bfd: gas: testsuite: support for signed 64-bit offset in SFrame FDE 2026-01-15 17:02:24 -08:00

libsframe is a support library for the GNU Binutils collection (currently used
by GNU ld, objdump, etc.) to read and write SFrame section data.

Note: This library is currently intended for internal use by GNU Binutils only.
Strict guarantees for ABI compatibility are not provided, and external projects
should not rely on the stability of these interfaces.