aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-target.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-02-11 22:15:53 +0000
committerAlan Modra <amodra@gmail.com>2013-02-11 22:15:53 +0000
commit9c3f90c430f91f0a420c01c2bc3c54c274a59012 (patch)
treef8ecb38b4a855d7ecfb83f04d640409bfeb24e1c /bfd/elfxx-target.h
parentc2792f5a8f0273b6599c905ac107603b2000cc06 (diff)
downloadgdb-9c3f90c430f91f0a420c01c2bc3c54c274a59012.zip
gdb-9c3f90c430f91f0a420c01c2bc3c54c274a59012.tar.gz
gdb-9c3f90c430f91f0a420c01c2bc3c54c274a59012.tar.bz2
* elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Provide
suitable definition when using generic linker hash table.
Diffstat (limited to 'bfd/elfxx-target.h')
-rw-r--r--bfd/elfxx-target.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h
index e22b2b9..86c9b1b 100644
--- a/bfd/elfxx-target.h
+++ b/bfd/elfxx-target.h
@@ -232,14 +232,13 @@
_bfd_elf_canonicalize_dynamic_reloc
#endif
-#ifndef bfd_elfNN_bfd_link_hash_table_free
-#define bfd_elfNN_bfd_link_hash_table_free _bfd_elf_link_hash_table_free
-#endif
-
#ifdef elf_backend_relocate_section
#ifndef bfd_elfNN_bfd_link_hash_table_create
#define bfd_elfNN_bfd_link_hash_table_create _bfd_elf_link_hash_table_create
#endif
+#ifndef bfd_elfNN_bfd_link_hash_table_free
+#define bfd_elfNN_bfd_link_hash_table_free _bfd_elf_link_hash_table_free
+#endif
#ifndef bfd_elfNN_bfd_link_add_symbols
#define bfd_elfNN_bfd_link_add_symbols bfd_elf_link_add_symbols
#endif
@@ -256,6 +255,9 @@
#define bfd_elfNN_bfd_link_hash_table_create \
_bfd_generic_link_hash_table_create
#endif
+#ifndef bfd_elfNN_bfd_link_hash_table_free
+#define bfd_elfNN_bfd_link_hash_table_free _bfd_generic_link_hash_table_free
+#endif
#ifndef bfd_elfNN_bfd_link_add_symbols
#define bfd_elfNN_bfd_link_add_symbols _bfd_generic_link_add_symbols
#endif