-\f
-/* Transfer vector */
-
-/* We use BSD archive files. */
-#define aout386_openr_next_archived_file bfd_generic_openr_next_archived_file
-#define aout386_generic_stat_arch_elt bfd_generic_stat_arch_elt
-#define aout386_slurp_armap bfd_slurp_bsd_armap
-#define aout386_slurp_extended_name_table bfd_true
-#define aout386_write_armap bsd_write_armap
-#define aout386_truncate_arname bfd_bsd_truncate_arname
-
-/* We don't support core files here. */
-#define aout386_core_file_failing_command _bfd_dummy_core_file_failing_command
-#define aout386_core_file_failing_signal _bfd_dummy_core_file_failing_signal
-#define aout386_core_file_matches_executable_p \
- _bfd_dummy_core_file_matches_executable_p
-#define aout386_core_file_p _bfd_dummy_target
-
-#define aout386_bfd_debug_info_start bfd_void
-#define aout386_bfd_debug_info_end bfd_void
-#define aout386_bfd_debug_info_accumulate (PROTO(void,(*),(bfd*, struct sec *))) bfd_void
-
-#define aout386_mkobject aout_32_mkobject
-#define aout386_close_and_cleanup aout_32_close_and_cleanup
-#define aout386_set_section_contents aout_32_set_section_contents
-#define aout386_get_section_contents aout_32_get_section_contents
-#define aout386_new_section_hook aout_32_new_section_hook
-#define aout386_get_symtab_upper_bound aout_32_get_symtab_upper_bound
-#define aout386_get_symtab aout_32_get_symtab
-#define aout386_get_reloc_upper_bound aout_32_get_reloc_upper_bound
-#define aout386_canonicalize_reloc aout_32_canonicalize_reloc
-#define aout386_make_empty_symbol aout_32_make_empty_symbol
-#define aout386_print_symbol aout_32_print_symbol
-#define aout386_get_lineno aout_32_get_lineno
-#define aout386_set_arch_mach aout_32_set_arch_mach
-#define aout386_find_nearest_line aout_32_find_nearest_line
-#define aout386_sizeof_headers aout_32_sizeof_headers
-
-bfd_target i386aout_vec = /* Intel 386 running a.out, embedded. */
-{
- "a.out-i386", /* name */
- bfd_target_aout_flavour,
- false, /* target byte order */
- false, /* target headers byte order */
- (HAS_RELOC | EXEC_P | /* object flags */
- HAS_LINENO | HAS_DEBUG |
- HAS_SYMS | HAS_LOCALS | DYNAMIC | WP_TEXT | D_PAGED),
- (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 1, /* minimum alignment */
- /* data swap routines */
- _do_getl64, _do_putl64, _do_getl32, _do_putl32, _do_getl16, _do_putl16,
- /* header swap routines */
- _do_getl64, _do_putl64, _do_getl32, _do_putl32, _do_getl16, _do_putl16,
-
- {_bfd_dummy_target, aout386_object_p, /* bfd_check_format */
- bfd_generic_archive_p, aout386_core_file_p},
- {bfd_false, aout386_mkobject, /* bfd_set_format */
- _bfd_generic_mkarchive, bfd_false},
- {bfd_false, aout386_write_object_contents, /* bfd_write_contents */
- _bfd_write_archive_contents, bfd_false},
-
- JUMP_TABLE(aout386)
+
+#define MY_write_object_contents i386aout_write_object_contents
+
+#define MY_backend_data &MY(backend_data)
+static const struct aout_backend_data MY(backend_data) = {
+ 0, /* zmagic contiguous */
+ 1, /* text incl header */
+ 0, /* entry is text address */
+ 0, /* exec_hdr_flags */
+ 0, /* text vma? */
+ MY(set_sizes),
+ 1, /* exec header not counted */
+ 0, /* add_dynamic_symbols */
+ 0, /* add_one_symbol */
+ 0, /* link_dynamic_object */
+ 0, /* write_dynamic_symbol */
+ 0, /* check_dynamic_reloc */
+ 0 /* finish_dynamic_link */