diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-02-23 20:24:06 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-02-23 20:24:06 +0000 |
commit | 8feff7172602b84ba285d46ea1b08374d228bfe0 (patch) | |
tree | 5550764e7ade3b43f1ec5a4971d8b23056fe41a4 /bfd/elf.c | |
parent | ff7f25de27ee6ae4cdd4395843fd2b5adfa4aa4b (diff) | |
download | gdb-8feff7172602b84ba285d46ea1b08374d228bfe0.zip gdb-8feff7172602b84ba285d46ea1b08374d228bfe0.tar.gz gdb-8feff7172602b84ba285d46ea1b08374d228bfe0.tar.bz2 |
* bfd-in.h (JUMP_TABLE): Added bfd_reloc_type_lookup and
bfd_make_debug_symbol; they were already in the target structure.
* Adjusted all uses of JUMP_TABLE.
* coffgen.c, libcoff-in.h (coff_bfd_make_debug_symbol): Renamed
from coff_make_debug_symbol.
* libcoff.h: Updated accordingly.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 22 |
1 files changed, 5 insertions, 17 deletions
@@ -2209,7 +2209,7 @@ DEFUN(elf_info_to_howto, (abfd, cache_ptr, dst), switch (abfd->arch_info->arch) { case bfd_arch_sparc: - BFD_ASSERT (ELF_R_TYPE(dst->r_info) < R_SPARC_max); + BFD_ASSERT (ELF_R_TYPE(dst->r_info) < (unsigned char) R_SPARC_max); cache_ptr->howto = &elf_sparc_howto_table[ELF_R_TYPE(dst->r_info)]; break; @@ -2525,6 +2525,10 @@ DEFUN(elf_set_section_contents, (abfd, section, location, offset, count), bfd_generic_get_relocated_section_contents #define elf_bfd_relax_section bfd_generic_relax_section #define elf_bfd_seclet_link bfd_generic_seclet_link +#define elf_bfd_reloc_type_lookup \ + ((CONST struct reloc_howto_struct *(*) PARAMS ((bfd *, bfd_reloc_code_real_type))) bfd_nullvoidptr) +#define elf_bfd_make_debug_symbol \ + ((asymbol *(*) PARAMS ((bfd *, void *, unsigned long))) bfd_nullvoidptr) bfd_target elf_big_vec = { @@ -2598,14 +2602,6 @@ bfd_target elf_big_vec = "elf" */ JUMP_TABLE(elf), - /* reloc_type_lookup: How applications can find out about amiga relocation - types (see documentation on reloc types). */ - NULL, - - /* _bfd_make_debug_symbol: Back-door to allow format aware applications to - create debug symbols while using BFD for everything else. */ - NULL, - /* backend_data: */ NULL }; @@ -2682,14 +2678,6 @@ bfd_target elf_little_vec = "elf" */ JUMP_TABLE(elf), - /* reloc_type_lookup: How applications can find out about amiga relocation - types (see documentation on reloc types). */ - NULL, - - /* _bfd_make_debug_symbol: Back-door to allow format aware applications to - create debug symbols while using BFD for everything else. */ - NULL, - /* backend_data: */ NULL }; |