From 95469b0290dd0db99e9c0d294ff46c2ba488c09f Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 9 Nov 1993 16:33:28 +0000 Subject: * libelf.h: Added some comments. (struct elf_backend_data): Added elf_backend_ecoff_debug_swap field. Removed unused write_relocs field. * elf32-target.h: Adjusted elf_backend_data initialization accordingly. * elf64-target.h: Corrected elf_backend_data initialization to fill in all fields and to set elf_64_p to 1. --- bfd/elf32-target.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'bfd/elf32-target.h') diff --git a/bfd/elf32-target.h b/bfd/elf32-target.h index 8d0076b..9b1c832 100644 --- a/bfd/elf32-target.h +++ b/bfd/elf32-target.h @@ -79,6 +79,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef elf_backend_section_from_bfd_section #define elf_backend_section_from_bfd_section 0 /* elf_backend_section_from_bfd_section */ #endif +#ifndef elf_backend_ecoff_debug_swap +#define elf_backend_ecoff_debug_swap 0 /* elf_backed_ecoff_debug_swap */ +#endif static CONST struct elf_backend_data elf32_bed = { @@ -89,16 +92,16 @@ static CONST struct elf_backend_data elf32_bed = #endif 0, /* elf_64_p */ ELF_ARCH, /* arch */ + ELF_MAXPAGESIZE, /* maxpagesize */ elf_info_to_howto, /* elf_info_to_howto */ elf_info_to_howto_rel, /* elf_info_to_howto_rel */ - ELF_MAXPAGESIZE, /* maxpagesize */ - bfd_elf32__write_relocs, /* write_relocs */ elf_backend_symbol_processing, /* elf_backend_symbol_processing */ elf_backend_symbol_table_processing, /* elf_backend_symbol_table_processing */ elf_backend_section_processing, /* elf_backend_section_processing */ elf_backend_section_from_shdr, /* elf_backend_section_from_shdr */ elf_backend_fake_sections, /* elf_backend_fake_sections */ elf_backend_section_from_bfd_section, /* elf_backend_section_from_bfd_section */ + elf_backend_ecoff_debug_swap /* elf_backend_ecoff_debug_swap */ }; #ifdef TARGET_BIG_SYM -- cgit v1.1