1999-05-03 07:29:11 +00:00
|
|
|
/* Target definitions for 32/64-bit NLM (NetWare Loadable Module)
|
2016-01-01 11:25:12 +00:00
|
|
|
Copyright (C) 1993-2016 Free Software Foundation, Inc.
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
This file is part of BFD, the Binary File Descriptor library.
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
2007-07-03 14:26:43 +00:00
|
|
|
the Free Software Foundation; either version 3 of the License, or
|
2005-04-21 07:45:39 +00:00
|
|
|
(at your option) any later version.
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
2007-07-03 14:26:43 +00:00
|
|
|
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
|
|
|
|
MA 02110-1301, USA. */
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
#define nlm_core_file_p _bfd_dummy_target
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
#define nlm_get_symtab_upper_bound nlmNAME (get_symtab_upper_bound)
|
|
|
|
#define nlm_canonicalize_symtab nlmNAME (canonicalize_symtab)
|
|
|
|
#define nlm_make_empty_symbol nlmNAME (make_empty_symbol)
|
|
|
|
#define nlm_print_symbol nlmNAME (print_symbol)
|
|
|
|
#define nlm_get_symbol_info nlmNAME (get_symbol_info)
|
2014-11-25 17:28:32 +00:00
|
|
|
#define nlm_get_symbol_version_string _bfd_nosymbols_get_symbol_version_string
|
2005-04-21 07:45:39 +00:00
|
|
|
#define nlm_bfd_is_local_label_name bfd_generic_is_local_label_name
|
|
|
|
#define nlm_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
|
|
|
|
#define nlm_get_lineno _bfd_nosymbols_get_lineno
|
|
|
|
#define nlm_find_nearest_line _bfd_nosymbols_find_nearest_line
|
Define bfd_find_line entry of BFD_JUMP_TABLE_SYMBOLS using NAME.
In https://www.sourceware.org/ml/binutils/2005-06/msg00082.html
HJ implemented bfd_find_line for DWARF2, but cheated a little in not
using the usual NAME##_find_line, saving quite a lot of boring
editing. However that shortcut probably contributed to
bfd_find_nearest_line_discriminator being implemented the same way,
and missing support for some targets.
* targets.c (BFD_JUMP_TABLE_SYMBOLS): Use NAME##_find_line.
* aout-adobe.c (aout_32_find_line): Define.
(aout_32_bfd_make_debug_symbol, aout_32_bfd_reloc_type_lookup,
aout_32_bfd_reloc_name_lookup): Define using _bfd_nosymbols define.
* aout-target.h (MY_find_line): Define.
* aout-tic30.c (MY_find_line): Define.
* binary.c (binary_find_line): Define.
* bout.c (aout_32_find_line): Define.
* coff-rs6000.c (_bfd_xcoff_find_line): Define.
* coff64-rs6000.c (rs6000_xcoff64_vec): Use coff_find_line.
(rs6000_xcoff64_aix_vec): Likewise.
* elf-bfd.h (_bfd_generic_find_line): Don't define.
* elfxx-target.h (bfd_elfNN_find_line): Define.
* i386msdos.c (msdos_find_line): Define.
* i386os9k.c (aout_32_find_line): Define.
* ieee.c (ieee_find_nearest_line, ieee_find_inliner_info): Delete func.
(ieee_find_nearest_line, ieee_find_line,
ieee_find_inliner_info): Define.
* ihex.c (ihex_find_line): Define.
* libbfd-in.h (_bfd_nosymbols_find_line): Define.
(_bfd_generic_find_line): Don't define.
* libbfd.c (_bfd_generic_find_line): Delete.
* libcoff-in.h (coff_find_line): Define.
* libecoff.h (_bfd_ecoff_find_line): Define.
* mach-o.h (bfd_mach_o_find_line): Define.
* mmo.c (mmo_find_line): Define.
* nlm-target.h (nlm_find_line): Define.
* oasys.c (oasys_find_nearest_line, oasys_find_inliner_info): Delete.
(oasys_find_nearest_line, oasys_find_line,
oasys_find_inliner_info): Define.
* pef.c (bfd_pef_find_line): Define.
* plugin.c (bfd_plugin_find_line): Define.
* ppcboot.c (ppcboot_find_line): Define.
* som.c (som_find_line): Define.
* srec.c (srec_find_line): Define.
* tekhex.c (tekhex_find_line): Define.
* versados.c (versados_find_line): Define.
* vms-alpha.c (alpha_vms_find_line): Define.
* xsym.c (bfd_sym_find_line): Define.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
2014-10-15 05:10:45 +00:00
|
|
|
#define nlm_find_line _bfd_nosymbols_find_line
|
2005-05-23 17:44:55 +00:00
|
|
|
#define nlm_find_inliner_info _bfd_nosymbols_find_inliner_info
|
2005-04-21 07:45:39 +00:00
|
|
|
#define nlm_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
|
|
|
#define nlm_read_minisymbols _bfd_generic_read_minisymbols
|
|
|
|
#define nlm_minisymbol_to_symbol _bfd_generic_minisymbol_to_symbol
|
|
|
|
|
|
|
|
#define nlm_get_reloc_upper_bound nlmNAME (get_reloc_upper_bound)
|
|
|
|
#define nlm_canonicalize_reloc nlmNAME (canonicalize_reloc)
|
|
|
|
#define nlm_bfd_reloc_type_lookup bfd_default_reloc_type_lookup
|
2007-03-26 12:23:03 +00:00
|
|
|
#define nlm_bfd_reloc_name_lookup _bfd_norelocs_bfd_reloc_name_lookup
|
2005-04-21 07:45:39 +00:00
|
|
|
#define nlm_set_section_contents nlmNAME (set_section_contents)
|
|
|
|
|
|
|
|
#define nlm_sizeof_headers _bfd_nolink_sizeof_headers
|
|
|
|
#define nlm_bfd_get_relocated_section_contents bfd_generic_get_relocated_section_contents
|
|
|
|
#define nlm_bfd_relax_section bfd_generic_relax_section
|
|
|
|
#define nlm_bfd_gc_sections bfd_generic_gc_sections
|
2011-07-11 15:03:09 +00:00
|
|
|
#define nlm_bfd_lookup_section_flags bfd_generic_lookup_section_flags
|
2005-04-21 07:45:39 +00:00
|
|
|
#define nlm_bfd_merge_sections bfd_generic_merge_sections
|
|
|
|
#define nlm_bfd_is_group_section bfd_generic_is_group_section
|
|
|
|
#define nlm_bfd_discard_group bfd_generic_discard_group
|
|
|
|
#define nlm_section_already_linked _bfd_generic_section_already_linked
|
2009-04-16 23:07:00 +00:00
|
|
|
#define nlm_bfd_define_common_symbol bfd_generic_define_common_symbol
|
2005-04-21 07:45:39 +00:00
|
|
|
#define nlm_bfd_link_hash_table_create _bfd_generic_link_hash_table_create
|
|
|
|
#define nlm_bfd_link_add_symbols _bfd_generic_link_add_symbols
|
|
|
|
#define nlm_bfd_link_just_syms _bfd_generic_link_just_syms
|
2009-11-23 14:41:33 +00:00
|
|
|
#define nlm_bfd_copy_link_hash_symbol_type \
|
|
|
|
_bfd_generic_copy_link_hash_symbol_type
|
2005-04-21 07:45:39 +00:00
|
|
|
#define nlm_bfd_final_link _bfd_generic_final_link
|
|
|
|
#define nlm_bfd_link_split_section _bfd_generic_link_split_section
|
2016-04-21 14:43:00 +00:00
|
|
|
#define nlm_bfd_link_check_relocs _bfd_generic_link_check_relocs
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
/* This structure contains everything that BFD knows about a target.
|
|
|
|
It includes things like its byte order, name, what routines to call
|
|
|
|
to do various operations, etc. Every BFD points to a target structure
|
|
|
|
with its "xvec" member.
|
|
|
|
|
|
|
|
There are two such structures here: one for big-endian machines and
|
|
|
|
one for little-endian machines. */
|
|
|
|
|
1999-07-19 14:55:16 +00:00
|
|
|
/* Forward declaration for use when initialising alternative_target field. */
|
|
|
|
#ifdef TARGET_LITTLE_SYM
|
|
|
|
extern const bfd_target TARGET_LITTLE_SYM;
|
|
|
|
#endif
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
#ifdef TARGET_BIG_SYM
|
|
|
|
const bfd_target TARGET_BIG_SYM =
|
|
|
|
{
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Name: identify kind of target. */
|
1999-05-03 07:29:11 +00:00
|
|
|
TARGET_BIG_NAME,
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Flavour: general indication about file. */
|
1999-05-03 07:29:11 +00:00
|
|
|
bfd_target_nlm_flavour,
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Byteorder: data is big endian. */
|
1999-05-03 07:29:11 +00:00
|
|
|
BFD_ENDIAN_BIG,
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Header_byteorder: header is also big endian. */
|
1999-05-03 07:29:11 +00:00
|
|
|
BFD_ENDIAN_BIG,
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Object_flags: mask of all file flags. */
|
1999-05-03 07:29:11 +00:00
|
|
|
(HAS_RELOC | EXEC_P | HAS_LINENO | HAS_DEBUG | HAS_SYMS | HAS_LOCALS
|
|
|
|
| WP_TEXT),
|
2000-12-12 21:25:54 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Section_flags: mask of all section flags. */
|
|
|
|
(SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_READONLY
|
|
|
|
| SEC_CODE | SEC_DATA),
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Leading_symbol_char: is the first char of a user symbol
|
|
|
|
predictable, and if so what is it. */
|
1999-05-03 07:29:11 +00:00
|
|
|
0,
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* AR_pad_char: pad character for filenames within an archive header
|
1999-05-03 07:29:11 +00:00
|
|
|
FIXME: this really has nothing to do with NLM, this is a characteristic
|
2005-04-21 07:45:39 +00:00
|
|
|
of the archiver and/or os and should be independently tunable. */
|
1999-05-03 07:29:11 +00:00
|
|
|
'/',
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* AR_max_namelen: maximum number of characters in an archive header
|
1999-05-03 07:29:11 +00:00
|
|
|
FIXME: this really has nothing to do with NLM, this is a characteristic
|
|
|
|
of the archiver and should be independently tunable. This value is
|
2005-04-21 07:45:39 +00:00
|
|
|
a WAG (wild a** guess). */
|
1999-05-03 07:29:11 +00:00
|
|
|
15,
|
* targets.c (bfd_target): Make ar_max_namelen an unsigned char.
Add match_priority.
* configure.in: Bump bfd version.
* elfcode.h (elf_object_p): Delete hacks preventing match of
EM_NONE and ELFOSABI_NONE targets when a better match exists.
* elfxx-target.h (elf_match_priority): Define and use.
* format.c (bfd_check_format_matches): Use target match_priority
to choose best of multiple matching targets. In cases with multiple
matches rerun _bfd_check_format if we don't choose the last match.
* aout-adobe.c, * aout-arm.c, * aout-target.h, * aout-tic30.c,
* binary.c, * bout.c, * coff-alpha.c, * coff-i386.c, * coff-i860.c,
* coff-i960.c, * coff-ia64.c, * coff-mips.c, * coff-or32.c,
* coff-ppc.c, * coff-rs6000.c, * coff-sh.c, * coff-tic30.c,
* coff-tic54x.c, * coff-x86_64.c, * coff64-rs6000.c, * coffcode.h,
* i386msdos.c, * i386os9k.c, * ieee.c, * ihex.c, * mach-o-target.c,
* mipsbsd.c, * mmo.c, * nlm-target.h, * oasys.c, * pdp11.c,
* pe-mips.c, * pef.c, * plugin.c, * ppcboot.c, * som.c, * srec.c,
* tekhex.c, * trad-core.c, * verilog.c, * versados.c, * vms-alpha.c,
* vms-lib.c, * xsym.c: Init match_priority field.
* configure: Regenerate.
* bfd-in2.h: Regenerate.
2011-06-06 01:26:05 +00:00
|
|
|
0, /* match priority. */
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Routines to byte-swap various sized integers from the data sections. */
|
1999-05-03 07:29:11 +00:00
|
|
|
bfd_getb64, bfd_getb_signed_64, bfd_putb64,
|
2005-04-21 07:45:39 +00:00
|
|
|
bfd_getb32, bfd_getb_signed_32, bfd_putb32,
|
|
|
|
bfd_getb16, bfd_getb_signed_16, bfd_putb16,
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Routines to byte-swap various sized integers from the file headers. */
|
1999-05-03 07:29:11 +00:00
|
|
|
bfd_getb64, bfd_getb_signed_64, bfd_putb64,
|
2005-04-21 07:45:39 +00:00
|
|
|
bfd_getb32, bfd_getb_signed_32, bfd_putb32,
|
|
|
|
bfd_getb16, bfd_getb_signed_16, bfd_putb16,
|
|
|
|
|
|
|
|
/* bfd_check_format: check the format of a file being read. */
|
|
|
|
{ _bfd_dummy_target, /* Unknown format. */
|
|
|
|
nlmNAME (object_p), /* Assembler/linker output (object file). */
|
|
|
|
bfd_generic_archive_p, /* An archive. */
|
|
|
|
nlm_core_file_p /* A core file. */
|
1999-05-03 07:29:11 +00:00
|
|
|
},
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* bfd_set_format: set the format of a file being written. */
|
1999-05-03 07:29:11 +00:00
|
|
|
{ bfd_false,
|
|
|
|
nlm_mkobject,
|
|
|
|
_bfd_generic_mkarchive,
|
|
|
|
bfd_false
|
|
|
|
},
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* bfd_write_contents: write cached information into a file being written. */
|
1999-05-03 07:29:11 +00:00
|
|
|
{ bfd_false,
|
2005-04-21 07:45:39 +00:00
|
|
|
nlmNAME (write_object_contents),
|
1999-05-03 07:29:11 +00:00
|
|
|
_bfd_write_archive_contents,
|
|
|
|
bfd_false
|
|
|
|
},
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Initialize a jump table with the standard macro.
|
|
|
|
All names start with "nlm". */
|
1999-05-03 07:29:11 +00:00
|
|
|
BFD_JUMP_TABLE_GENERIC (_bfd_generic),
|
|
|
|
BFD_JUMP_TABLE_COPY (_bfd_generic),
|
|
|
|
BFD_JUMP_TABLE_CORE (_bfd_nocore),
|
|
|
|
BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
|
|
|
|
BFD_JUMP_TABLE_SYMBOLS (nlm),
|
|
|
|
BFD_JUMP_TABLE_RELOCS (nlm),
|
|
|
|
BFD_JUMP_TABLE_WRITE (nlm),
|
|
|
|
BFD_JUMP_TABLE_LINK (nlm),
|
|
|
|
BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
|
|
|
|
|
1999-07-19 14:55:16 +00:00
|
|
|
/* Alternative endian target. */
|
|
|
|
#ifdef TARGET_LITTLE_SYM
|
|
|
|
& TARGET_LITTLE_SYM,
|
|
|
|
#else
|
|
|
|
NULL,
|
|
|
|
#endif
|
2000-12-12 21:25:54 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Backend_data. */
|
|
|
|
(void *) TARGET_BACKEND_DATA
|
1999-05-03 07:29:11 +00:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef TARGET_LITTLE_SYM
|
|
|
|
const bfd_target TARGET_LITTLE_SYM =
|
|
|
|
{
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Name: identify kind of target. */
|
1999-05-03 07:29:11 +00:00
|
|
|
TARGET_LITTLE_NAME,
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Flavour: general indication about file. */
|
1999-05-03 07:29:11 +00:00
|
|
|
bfd_target_nlm_flavour,
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Byteorder: data is little endian. */
|
1999-05-03 07:29:11 +00:00
|
|
|
BFD_ENDIAN_LITTLE,
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Header_byteorder: header is also little endian. */
|
1999-05-03 07:29:11 +00:00
|
|
|
BFD_ENDIAN_LITTLE,
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Object_flags: mask of all file flags. */
|
1999-05-03 07:29:11 +00:00
|
|
|
(HAS_RELOC | EXEC_P | HAS_LINENO | HAS_DEBUG | HAS_SYMS | HAS_LOCALS
|
|
|
|
| WP_TEXT),
|
2000-12-12 21:25:54 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Section_flags: mask of all section flags. */
|
|
|
|
(SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_READONLY
|
|
|
|
| SEC_DATA),
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Leading_symbol_char: is the first char of a user symbol
|
|
|
|
predictable, and if so what is it. */
|
1999-05-03 07:29:11 +00:00
|
|
|
0,
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* AR_pad_char: pad character for filenames within an archive header
|
1999-05-03 07:29:11 +00:00
|
|
|
FIXME: this really has nothing to do with NLM, this is a characteristic
|
2005-04-21 07:45:39 +00:00
|
|
|
of the archiver and/or os and should be independently tunable. */
|
1999-05-03 07:29:11 +00:00
|
|
|
'/',
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* AR_max_namelen: maximum number of characters in an archive header
|
1999-05-03 07:29:11 +00:00
|
|
|
FIXME: this really has nothing to do with NLM, this is a characteristic
|
|
|
|
of the archiver and should be independently tunable. This value is
|
2005-04-21 07:45:39 +00:00
|
|
|
a WAG (wild a** guess). */
|
1999-05-03 07:29:11 +00:00
|
|
|
15,
|
* targets.c (bfd_target): Make ar_max_namelen an unsigned char.
Add match_priority.
* configure.in: Bump bfd version.
* elfcode.h (elf_object_p): Delete hacks preventing match of
EM_NONE and ELFOSABI_NONE targets when a better match exists.
* elfxx-target.h (elf_match_priority): Define and use.
* format.c (bfd_check_format_matches): Use target match_priority
to choose best of multiple matching targets. In cases with multiple
matches rerun _bfd_check_format if we don't choose the last match.
* aout-adobe.c, * aout-arm.c, * aout-target.h, * aout-tic30.c,
* binary.c, * bout.c, * coff-alpha.c, * coff-i386.c, * coff-i860.c,
* coff-i960.c, * coff-ia64.c, * coff-mips.c, * coff-or32.c,
* coff-ppc.c, * coff-rs6000.c, * coff-sh.c, * coff-tic30.c,
* coff-tic54x.c, * coff-x86_64.c, * coff64-rs6000.c, * coffcode.h,
* i386msdos.c, * i386os9k.c, * ieee.c, * ihex.c, * mach-o-target.c,
* mipsbsd.c, * mmo.c, * nlm-target.h, * oasys.c, * pdp11.c,
* pe-mips.c, * pef.c, * plugin.c, * ppcboot.c, * som.c, * srec.c,
* tekhex.c, * trad-core.c, * verilog.c, * versados.c, * vms-alpha.c,
* vms-lib.c, * xsym.c: Init match_priority field.
* configure: Regenerate.
* bfd-in2.h: Regenerate.
2011-06-06 01:26:05 +00:00
|
|
|
0, /* match priority. */
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Routines to byte-swap various sized integers from the data sections. */
|
1999-05-03 07:29:11 +00:00
|
|
|
bfd_getl64, bfd_getl_signed_64, bfd_putl64,
|
2005-04-21 07:45:39 +00:00
|
|
|
bfd_getl32, bfd_getl_signed_32, bfd_putl32,
|
|
|
|
bfd_getl16, bfd_getl_signed_16, bfd_putl16,
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Routines to byte-swap various sized integers from the file headers. */
|
1999-05-03 07:29:11 +00:00
|
|
|
bfd_getl64, bfd_getl_signed_64, bfd_putl64,
|
2005-04-21 07:45:39 +00:00
|
|
|
bfd_getl32, bfd_getl_signed_32, bfd_putl32,
|
|
|
|
bfd_getl16, bfd_getl_signed_16, bfd_putl16,
|
|
|
|
|
|
|
|
/* bfd_check_format: check the format of a file being read. */
|
|
|
|
{ _bfd_dummy_target, /* Unknown format. */
|
|
|
|
nlmNAME(object_p), /* Assembler/linker output (object file). */
|
|
|
|
bfd_generic_archive_p, /* An archive. */
|
|
|
|
nlm_core_file_p /* A core file. */
|
1999-05-03 07:29:11 +00:00
|
|
|
},
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* bfd_set_format: set the format of a file being written. */
|
1999-05-03 07:29:11 +00:00
|
|
|
{ bfd_false,
|
|
|
|
nlm_mkobject,
|
|
|
|
_bfd_generic_mkarchive,
|
|
|
|
bfd_false
|
|
|
|
},
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* bfd_write_contents: write cached information into a file being written. */
|
1999-05-03 07:29:11 +00:00
|
|
|
{ bfd_false,
|
|
|
|
nlmNAME(write_object_contents),
|
|
|
|
_bfd_write_archive_contents,
|
|
|
|
bfd_false
|
|
|
|
},
|
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Initialize a jump table with the standard macro.
|
|
|
|
All names start with "nlm". */
|
1999-05-03 07:29:11 +00:00
|
|
|
BFD_JUMP_TABLE_GENERIC (_bfd_generic),
|
|
|
|
BFD_JUMP_TABLE_COPY (_bfd_generic),
|
|
|
|
BFD_JUMP_TABLE_CORE (_bfd_nocore),
|
|
|
|
BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive),
|
|
|
|
BFD_JUMP_TABLE_SYMBOLS (nlm),
|
|
|
|
BFD_JUMP_TABLE_RELOCS (nlm),
|
|
|
|
BFD_JUMP_TABLE_WRITE (nlm),
|
|
|
|
BFD_JUMP_TABLE_LINK (nlm),
|
|
|
|
BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
|
|
|
|
|
1999-07-19 14:55:16 +00:00
|
|
|
/* Alternative endian target. */
|
|
|
|
#ifdef TARGET_BIG_SYM
|
|
|
|
& TARGET_BIG_SYM,
|
|
|
|
#else
|
|
|
|
NULL,
|
|
|
|
#endif
|
2000-12-12 21:25:54 +00:00
|
|
|
|
2005-04-21 07:45:39 +00:00
|
|
|
/* Backend_data. */
|
|
|
|
(void *) TARGET_BACKEND_DATA
|
1999-05-03 07:29:11 +00:00
|
|
|
};
|
|
|
|
#endif
|