aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-06-08 10:37:40 +0930
committerAlan Modra <amodra@gmail.com>2023-06-08 10:37:40 +0930
commit12f7174bf069f407d5b6f12e926ceabe45e450e1 (patch)
tree260701d71689c3883e418a669303cee0176b88f8
parent09d757a5c2f8824ef687b9c6d7ad834f89a3cc17 (diff)
downloadgdb-12f7174bf069f407d5b6f12e926ceabe45e450e1.zip
gdb-12f7174bf069f407d5b6f12e926ceabe45e450e1.tar.gz
gdb-12f7174bf069f407d5b6f12e926ceabe45e450e1.tar.bz2
Re: _bfd_free_cached_info
Oops, another leak caused by not defining the correct macro. * elf32-mips.c: Define bfd_elf32_bfd_free_cached_info. * elfn32-mips.c: Likewise. * elf64-mips.c: Define bfd_elf64_bfd_free_cached_info.
-rw-r--r--bfd/elf32-mips.c2
-rw-r--r--bfd/elf64-mips.c2
-rw-r--r--bfd/elfn32-mips.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index 27bd986..34ffa67 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -2599,7 +2599,7 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = {
_bfd_mips_elf_print_private_bfd_data
#define bfd_elf32_bfd_relax_section _bfd_mips_elf_relax_section
#define bfd_elf32_mkobject _bfd_mips_elf_mkobject
-#define bfd_elf32_free_cached_info _bfd_mips_elf_free_cached_info
+#define bfd_elf32_bfd_free_cached_info _bfd_mips_elf_free_cached_info
/* Support for SGI-ish mips targets. */
#define TARGET_LITTLE_SYM mips_elf32_le_vec
diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c
index 1179f62..0530be1 100644
--- a/bfd/elf64-mips.c
+++ b/bfd/elf64-mips.c
@@ -4815,7 +4815,7 @@ const struct elf_size_info mips_elf64_size_info =
#define bfd_elf64_get_dynamic_reloc_upper_bound mips_elf64_get_dynamic_reloc_upper_bound
#define bfd_elf64_mkobject _bfd_mips_elf_mkobject
-#define bfd_elf64_free_cached_info _bfd_mips_elf_free_cached_info
+#define bfd_elf64_bfd_free_cached_info _bfd_mips_elf_free_cached_info
/* The SGI style (n)64 NewABI. */
#define TARGET_LITTLE_SYM mips_elf64_le_vec
diff --git a/bfd/elfn32-mips.c b/bfd/elfn32-mips.c
index e6aa167..3ae11e2 100644
--- a/bfd/elfn32-mips.c
+++ b/bfd/elfn32-mips.c
@@ -4197,7 +4197,7 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = {
#define bfd_elf32_bfd_print_private_bfd_data \
_bfd_mips_elf_print_private_bfd_data
#define bfd_elf32_mkobject mips_elf_n32_mkobject
-#define bfd_elf32_free_cached_info _bfd_mips_elf_free_cached_info
+#define bfd_elf32_bfd_free_cached_info _bfd_mips_elf_free_cached_info
/* Support for SGI-ish mips targets using n32 ABI. */