aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-target.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-08-20 14:28:46 +0000
committerNick Clifton <nickc@redhat.com>2001-08-20 14:28:46 +0000
commit28db233b6ca087b94ca667fc6f9217527b8040a5 (patch)
tree2d888d1d82baac87cf766404e0475478af19bb80 /bfd/elfxx-target.h
parent82208dc52272376dfdb97b0b55fb178bd33c6a12 (diff)
downloadfsf-binutils-gdb-28db233b6ca087b94ca667fc6f9217527b8040a5.zip
fsf-binutils-gdb-28db233b6ca087b94ca667fc6f9217527b8040a5.tar.gz
fsf-binutils-gdb-28db233b6ca087b94ca667fc6f9217527b8040a5.tar.bz2
Never select the generic has table creator. All elf backends need elf specific
fields in the hash table.
Diffstat (limited to 'bfd/elfxx-target.h')
-rw-r--r--bfd/elfxx-target.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h
index 2d0970e..6ba5b6e 100644
--- a/bfd/elfxx-target.h
+++ b/bfd/elfxx-target.h
@@ -162,16 +162,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
_bfd_elf_canonicalize_dynamic_reloc
#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
-#else /* ! defined (elf_backend_relocate_section) */
+#ifndef elf_backend_relocate_section
/* If no backend relocate_section routine, use the generic linker. */
-#ifndef bfd_elfNN_bfd_link_hash_table_create
-#define bfd_elfNN_bfd_link_hash_table_create \
- _bfd_generic_link_hash_table_create
-#endif
#ifndef bfd_elfNN_bfd_link_add_symbols
#define bfd_elfNN_bfd_link_add_symbols _bfd_generic_link_add_symbols
#endif