From 28db233b6ca087b94ca667fc6f9217527b8040a5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 20 Aug 2001 14:28:46 +0000 Subject: [PATCH] Never select the generic has table creator. All elf backends need elf specific fields in the hash table. --- bfd/ChangeLog | 6 ++++++ bfd/elfxx-target.h | 7 +------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 752433e..7f4b827 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 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 -- 2.7.4