diff options
author | Alan Modra <amodra@gmail.com> | 2023-06-08 10:18:01 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-06-08 10:31:45 +0930 |
commit | 09d757a5c2f8824ef687b9c6d7ad834f89a3cc17 (patch) | |
tree | a7c2cef298acf0c9c39be109f7f3c1d400f910bf /bfd/elfnn-aarch64.c | |
parent | 16476ac950f6db54d49a9d205b522797d7cbee6c (diff) | |
download | gdb-09d757a5c2f8824ef687b9c6d7ad834f89a3cc17.zip gdb-09d757a5c2f8824ef687b9c6d7ad834f89a3cc17.tar.gz gdb-09d757a5c2f8824ef687b9c6d7ad834f89a3cc17.tar.bz2 |
Re: _bfd_free_cached_info
ELF targets with target-specific free_cache_info functions need to
call _bfd_elf_free_cached_info, not _bfd_generic_bfd_free_cached_info.
* elf64-ppc.c (ppc64_elf_free_cached_info): Call
_bfd_elf_free_cached_info.
* elfnn-aarch64.c (elfNN_aarch64_bfd_free_cached_info): Likewise.
Diffstat (limited to 'bfd/elfnn-aarch64.c')
-rw-r--r-- | bfd/elfnn-aarch64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index a75cd36..4592bd6 100644 --- a/bfd/elfnn-aarch64.c +++ b/bfd/elfnn-aarch64.c @@ -8742,7 +8742,7 @@ elfNN_aarch64_bfd_free_cached_info (bfd *abfd) bfd_map_over_sections (abfd, unrecord_section_via_map_over_sections, NULL); - return _bfd_generic_bfd_free_cached_info (abfd); + return _bfd_elf_free_cached_info (abfd); } /* Create dynamic sections. This is different from the ARM backend in that |