binutils-gdb/libsframe
Alan Modra 3949fb481a Free sframe encoder context
Like the patch to free sframe decoder data, this also needs to ensure
the function doing the free is passed the actual context address.

bfd/
	* elf-sframe.c (_bfd_elf_write_section_sframe): Don't pass
	address of local var to sframe_encoder_free, pass the actual
	context address.
	* elf64-s390.c (elf_s390_link_hash_table_free): New function.
	(elf_s390_link_hash_table_create): Set hash_table_free.  Tidy
	zmalloc call.
	(_bfd_s390_elf_write_sframe_plt): Don't pass address of local
	var to sframe_encoder_free, pass the actual context address.
	* elflink.c: Include sframe-api.h.
	(_bfd_elf_link_hash_table_free): Free sframe encoder data.
	* elfxx-x86.c (elf_x86_link_hash_table_free): Likewise.
	(_bfd_x86_elf_write_sframe_plt): Don't pass address of local
	var to sframe_encoder_free, pass the actual context address.
libsframe/
	* sframe.c (sframe_encode): Free context on error return path.
2026-02-11 15:31:33 +10:30
..
doc sframe: doc: minor fixups in language for clarity 2026-02-05 23:17:41 -08:00
testsuite include: libsframe: rename SFrame V3 Flexible FDE macros to CTRLWORD 2026-01-29 20:02:57 -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] bfd: ld: sframe: avoid unnecessary decoding of SFrame FREs at link time 2026-01-15 17:02:26 -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 new testcases for SFRAME_FDE_TYPE_FLEX 2026-01-15 17:02:28 -08:00
README libsframe: add README and mention expectations 2026-01-05 11:53:13 -08:00
sframe-dump.c include: libsframe: rename SFrame V3 Flexible FDE macros to CTRLWORD 2026-01-29 20:02:57 -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 Free sframe encoder context 2026-02-11 15:31:33 +10:30

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.