Never select the generic has table creator. All elf backends need elf specific

fields in the hash table.
This commit is contained in:
Nick Clifton 2001-08-20 14:28:46 +00:00
parent 82208dc522
commit 28db233b6c
2 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2001-08-20 Nick Clifton <nickc@cambridge.redhat.com>
* 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 <amodra@bigpond.net.au>
* archive.c (offsetof): Remove define.

View File

@ -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