mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2026-08-27 00:26:02 -04:00
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. |
||
|---|---|---|
| .. | ||
| doc | ||
| testsuite | ||
| aclocal.m4 | ||
| config.h.in | ||
| configure | ||
| configure.ac | ||
| libsframe.ver | ||
| libtool-version | ||
| Makefile.am | ||
| Makefile.in | ||
| README | ||
| sframe-dump.c | ||
| sframe-error.c | ||
| sframe-impl.h | ||
| sframe.c | ||
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.