From 39f27966436499da318f99c3ad922a2ba2d9208b Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 29 Mar 1996 06:56:02 +0000 Subject: * 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. --- bfd/coffcode.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bfd/coffcode.h') 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 -- cgit v1.1