aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-target.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-11-09 16:33:28 +0000
committerIan Lance Taylor <ian@airs.com>1993-11-09 16:33:28 +0000
commit95469b0290dd0db99e9c0d294ff46c2ba488c09f (patch)
treefcba1bc9a0917ad86b3e9dee1b355edd54b198e7 /bfd/elf32-target.h
parent7420b02b8d21baf352e8059daf2c73cba8d18941 (diff)
downloadgdb-95469b0290dd0db99e9c0d294ff46c2ba488c09f.zip
gdb-95469b0290dd0db99e9c0d294ff46c2ba488c09f.tar.gz
gdb-95469b0290dd0db99e9c0d294ff46c2ba488c09f.tar.bz2
* 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.
Diffstat (limited to 'bfd/elf32-target.h')
-rw-r--r--bfd/elf32-target.h7
1 files changed, 5 insertions, 2 deletions
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