diff options
author | Nick Clifton <nickc@redhat.com> | 2001-08-20 14:28:46 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-08-20 14:28:46 +0000 |
commit | 314af58c0143bc4f3a47fd2c2e9535efe94b80a5 (patch) | |
tree | 5693f8d8c82372fc78dd07d2f184b0c9f93aa613 /bfd/elfxx-target.h | |
parent | e2ac0a7ce88318bdbfaec7d2515b602eaef20564 (diff) | |
download | gdb-314af58c0143bc4f3a47fd2c2e9535efe94b80a5.tar.gz |
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.h | 7 |
1 files changed, 1 insertions, 6 deletions
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 |