From: Nick Clifton Date: Mon, 20 Aug 2001 14:28:46 +0000 (+0000) Subject: Never select the generic has table creator. All elf backends need elf specific X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28db233b6ca087b94ca667fc6f9217527b8040a5;p=binutils-gdb.git Never select the generic has table creator. All elf backends need elf specific fields in the hash table. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 752433e380c..7f4b8272728 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2001-08-20 Nick Clifton + + * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_create): Never + select the generic has table creator. All elf backends need elf + specific fields in the hash table. + 2001-08-20 Alan Modra * archive.c (offsetof): Remove define. diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h index 2d0970e449a..6ba5b6e43f2 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