aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
parent82208dc52272376dfdb97b0b55fb178bd33c6a12 (diff)
downloadgdb-28db233b6ca087b94ca667fc6f9217527b8040a5.zip
gdb-28db233b6ca087b94ca667fc6f9217527b8040a5.tar.gz
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')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elfxx-target.h7
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 <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.
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