Line 1... |
Line 1... |
/* BFD back-end for MIPS Extended-Coff files.
|
/* BFD back-end for MIPS Extended-Coff files.
|
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
2000, 2001, 2002, 2003, 2004, 2007, 2008
|
2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009
|
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
Original version by Per Bothner.
|
Original version by Per Bothner.
|
Full support added by Ian Lance Taylor, ian@cygnus.com.
|
Full support added by Ian Lance Taylor, ian@cygnus.com.
|
|
|
This file is part of BFD, the Binary File Descriptor library.
|
This file is part of BFD, the Binary File Descriptor library.
|
Line 83... |
Line 83... |
#define coff_swap_filehdr_out mips_ecoff_swap_filehdr_out
|
#define coff_swap_filehdr_out mips_ecoff_swap_filehdr_out
|
#define coff_swap_aouthdr_in mips_ecoff_swap_aouthdr_in
|
#define coff_swap_aouthdr_in mips_ecoff_swap_aouthdr_in
|
#define coff_swap_aouthdr_out mips_ecoff_swap_aouthdr_out
|
#define coff_swap_aouthdr_out mips_ecoff_swap_aouthdr_out
|
#define coff_swap_scnhdr_in mips_ecoff_swap_scnhdr_in
|
#define coff_swap_scnhdr_in mips_ecoff_swap_scnhdr_in
|
#define coff_swap_scnhdr_out mips_ecoff_swap_scnhdr_out
|
#define coff_swap_scnhdr_out mips_ecoff_swap_scnhdr_out
|
|
|
#include "coffswap.h"
|
#include "coffswap.h"
|
|
|
/* Get the ECOFF swapping routines. */
|
/* Get the ECOFF swapping routines. */
|
#define ECOFF_32
|
#define ECOFF_32
|
#include "ecoffswap.h"
|
#include "ecoffswap.h"
|
Line 1309... |
Line 1310... |
(unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* sym_out */
|
(unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* sym_out */
|
(unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* lineno_out */
|
(unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* lineno_out */
|
(unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* reloc_out */
|
(unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* reloc_out */
|
mips_ecoff_swap_filehdr_out, mips_ecoff_swap_aouthdr_out,
|
mips_ecoff_swap_filehdr_out, mips_ecoff_swap_aouthdr_out,
|
mips_ecoff_swap_scnhdr_out,
|
mips_ecoff_swap_scnhdr_out,
|
FILHSZ, AOUTSZ, SCNHSZ, 0, 0, 0, 0, FILNMLEN, TRUE, FALSE, 4, FALSE, 2,
|
FILHSZ, AOUTSZ, SCNHSZ, 0, 0, 0, 0, FILNMLEN, TRUE,
|
|
ECOFF_NO_LONG_SECTION_NAMES, 4, FALSE, 2,
|
mips_ecoff_swap_filehdr_in, mips_ecoff_swap_aouthdr_in,
|
mips_ecoff_swap_filehdr_in, mips_ecoff_swap_aouthdr_in,
|
mips_ecoff_swap_scnhdr_in, NULL,
|
mips_ecoff_swap_scnhdr_in, NULL,
|
mips_ecoff_bad_format_hook, _bfd_ecoff_set_arch_mach_hook,
|
mips_ecoff_bad_format_hook, _bfd_ecoff_set_arch_mach_hook,
|
_bfd_ecoff_mkobject_hook, _bfd_ecoff_styp_to_sec_flags,
|
_bfd_ecoff_mkobject_hook, _bfd_ecoff_styp_to_sec_flags,
|
_bfd_ecoff_set_alignment_hook, _bfd_ecoff_slurp_symbol_table,
|
_bfd_ecoff_set_alignment_hook, _bfd_ecoff_slurp_symbol_table,
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
NULL, NULL
|
NULL, NULL, NULL
|
},
|
},
|
/* Supported architecture. */
|
/* Supported architecture. */
|
bfd_arch_mips,
|
bfd_arch_mips,
|
/* Initial portion of armap string. */
|
/* Initial portion of armap string. */
|
"__________",
|
"__________",
|
Line 1413... |
Line 1415... |
|
|
#define _bfd_ecoff_bfd_is_group_section bfd_generic_is_group_section
|
#define _bfd_ecoff_bfd_is_group_section bfd_generic_is_group_section
|
#define _bfd_ecoff_bfd_discard_group bfd_generic_discard_group
|
#define _bfd_ecoff_bfd_discard_group bfd_generic_discard_group
|
#define _bfd_ecoff_section_already_linked \
|
#define _bfd_ecoff_section_already_linked \
|
_bfd_generic_section_already_linked
|
_bfd_generic_section_already_linked
|
|
#define _bfd_ecoff_bfd_define_common_symbol bfd_generic_define_common_symbol
|
|
|
extern const bfd_target ecoff_big_vec;
|
extern const bfd_target ecoff_big_vec;
|
|
|
const bfd_target ecoff_little_vec =
|
const bfd_target ecoff_little_vec =
|
{
|
{
|