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.
if (opd->reloc_count == 0)
free (ppc64_elf_section_data (opd)->u.opd.u.contents);
- return _bfd_generic_bfd_free_cached_info (abfd);
+ return _bfd_elf_free_cached_info (abfd);
}
#include "elf64-target.h"
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