Re: _bfd_free_cached_info
authorAlan Modra <amodra@gmail.com>
Thu, 8 Jun 2023 00:48:01 +0000 (10:18 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 8 Jun 2023 01:01:45 +0000 (10:31 +0930)
commit09d757a5c2f8824ef687b9c6d7ad834f89a3cc17
treea7c2cef298acf0c9c39be109f7f3c1d400f910bf
parent16476ac950f6db54d49a9d205b522797d7cbee6c
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.
bfd/elf64-ppc.c
bfd/elfnn-aarch64.c