aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-03-29 06:56:02 +0000
committerJeff Law <law@redhat.com>1996-03-29 06:56:02 +0000
commit39f27966436499da318f99c3ad922a2ba2d9208b (patch)
tree62ed70815ab57538301fa7613b4adf03655ae7e7 /bfd/coffcode.h
parent3197da91f90da028652216b219de00c81eeb0914 (diff)
downloadgdb-39f27966436499da318f99c3ad922a2ba2d9208b.zip
gdb-39f27966436499da318f99c3ad922a2ba2d9208b.tar.gz
gdb-39f27966436499da318f99c3ad922a2ba2d9208b.tar.bz2
* libbfd-in.h (generic_link_hash_newfunc): Add declaration.
* libbfd.h: Rebuilt. * linker.c (generic_link_hash_newfunc): No longer static. * coffcode.h (coff_bfd_link_hash_create): Allow specific targets to override. * coff-h8300.c: Add two derived hash tables and their associated funtions and #defines for use by the h8300 linker. (h8300_reloc16_extra_cases, case R_MEM_INDIRECT): Create entries in the function vector as needed. Place the address of the function vector entry in the location specified by the R_MEM_INDIRECT reloc. Rewrite the vectors section contents as necessary. (h8300_bfd_link_add_symbols): New function for the h8300 linker. (coff_bfd_link_add_symbols): Define to use h8300 specific version. (coff_bfd_link_hash_table_create): Likewise. Linker changes for function vectors. HMSE.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index e703167..0a7c730 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -3530,7 +3530,9 @@ dummy_reloc16_extra_cases (abfd, link_info, link_order, reloc, data, src_ptr,
#endif
#else /* ! defined (coff_relocate_section) */
#define coff_relocate_section NULL
+#ifndef coff_bfd_link_hash_table_create
#define coff_bfd_link_hash_table_create _bfd_generic_link_hash_table_create
+#endif
#ifndef coff_bfd_link_add_symbols
#define coff_bfd_link_add_symbols _bfd_generic_link_add_symbols
#endif