aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-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/elf64-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/elf64-target.h')
-rw-r--r--bfd/elf64-target.h37
1 files changed, 31 insertions, 6 deletions
diff --git a/bfd/elf64-target.h b/bfd/elf64-target.h
index d7ee425..790e4a6 100644
--- a/bfd/elf64-target.h
+++ b/bfd/elf64-target.h
@@ -59,6 +59,28 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define ELF_MAXPAGESIZE 1
#endif
+#ifndef elf_backend_symbol_processing
+#define elf_backend_symbol_processing 0 /* elf_backend_symbol_processing */
+#endif
+#ifndef elf_backend_symbol_table_processing
+#define elf_backend_symbol_table_processing 0 /* elf_backend_symbol_table_processing */
+#endif
+#ifndef elf_backend_section_processing
+#define elf_backend_section_processing 0 /* elf_backend_section_processing */
+#endif
+#ifndef elf_backend_section_from_shdr
+#define elf_backend_section_from_shdr 0 /* elf_backend_section_from_shdr */
+#endif
+#ifndef elf_backend_fake_sections
+#define elf_backend_fake_sections 0 /* elf_backend_fake_sections */
+#endif
+#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 elf64_bed =
{
#ifdef USE_REL
@@ -66,15 +88,18 @@ static CONST struct elf_backend_data elf64_bed =
#else
1, /* use_rela_p */
#endif
- 0, /* elf_64_p */
+ 1, /* elf_64_p */
ELF_ARCH, /* arch */
+ ELF_MAXPAGESIZE, /* maxpagesize */
elf_info_to_howto, /* elf_info_to_howto */
-#ifdef elf_info_to_howto_rel
elf_info_to_howto_rel, /* elf_info_to_howto_rel */
-#else
- 0, /* elf_info_to_howto_rel */
-#endif
- ELF_MAXPAGESIZE, /* maxpagesize */
+ 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