diff options
author | Alan Modra <amodra@gmail.com> | 2023-03-24 16:28:08 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-03-24 21:01:43 +1030 |
commit | 17749b3926dcf60acfec6b718733f3932b9fe880 (patch) | |
tree | 93d4a0055f4fbf440473d2a7b205c00e3cde1c31 /bfd/libbfd.h | |
parent | c569a946f6925d3f210c3eaf74dcda56843350ef (diff) | |
download | fsf-binutils-gdb-17749b3926dcf60acfec6b718733f3932b9fe880.zip fsf-binutils-gdb-17749b3926dcf60acfec6b718733f3932b9fe880.tar.gz fsf-binutils-gdb-17749b3926dcf60acfec6b718733f3932b9fe880.tar.bz2 |
Tidy dwarf1 cached section contents
* dwarf1.c (_bfd_dwarf1_cleanup_debug_info): New function.
* libbfd-in.h (_bfd_dwarf1_cleanup_debug_info): Declare.
* elf.c (_bfd_elf_close_and_cleanup): Call it.
* elf-bfd.h (struct elf_obj_tdata): Make dwarf1_find_line_info
a void*.
* libbfd.h: Regenerate.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r-- | bfd/libbfd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h index fa6f2d7..d1dc7b9 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -579,6 +579,10 @@ extern bool _bfd_dwarf1_find_nearest_line (bfd *, asymbol **, asection *, bfd_vma, const char **, const char **, unsigned int *) ATTRIBUTE_HIDDEN; +/* Clean up the data used to handle DWARF 1 debugging information. */ +extern void _bfd_dwarf1_cleanup_debug_info + (bfd *, void **) ATTRIBUTE_HIDDEN; + struct dwarf_debug_section { const char * uncompressed_name; |