aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-mips.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-20 18:26:55 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-20 18:26:55 +0000
commitaac6b32f3129e8a9b2856fd3fb80c4613bddd455 (patch)
tree7cb0440e9a58e8c877299b54ac9e4121d35f5127 /bfd/coff-mips.c
parent6c8fa8e62cd3a5872fd98269ccd4d7da6e26a459 (diff)
downloadgdb-aac6b32f3129e8a9b2856fd3fb80c4613bddd455.zip
gdb-aac6b32f3129e8a9b2856fd3fb80c4613bddd455.tar.gz
gdb-aac6b32f3129e8a9b2856fd3fb80c4613bddd455.tar.bz2
* ecoff.c (ecoff_swap_tir_in): Change input argument to const.
(ecoff_swap_tir_out): Likewise. (ecoff_swap_rndx_in, ecoff_swap_rndx_out): Likewise. (ecoff_slurp_symbolic_info): Add new arguments to correspond to read_debug_info entry point in ecoff_debug_swap structure. Change all calls. * libecoff.h (ecoff_slurp_symbolic_info): Change declaration. * ecoffswap.h (ecoff_swap_tir_in, ecoff_swap_tir_out): Declare. (ecoff_swap_rndx_in, ecoff_swap_rndx_out): Declare. * coff-alpha.c (alpha_ecoff_backend_data): Initialize new ecoff_debug_swap fields. * coff-mips.c (mips_ecoff_backend_data): Likewise. * elf32-mips.c (mips_elf_read_ecoff_info): Undefine READ. (mips_elf_ecoff_debug_swap): Initialize new ecoff_debug_swap fields. * configure.in (bfd_elf32_bigmips_vec): Use ecoff.o and ecofflink.o. (bfd_elf32_littlemips_vec): Likewise. (ecoff_big_vec, ecoff_little_vec): Likewise. (ecoffalpha_little_vec): Likewise. * Makefile.in (BFD_LIBS): Remove ecoff.o and ecofflink.o. (BFD32_BACKENDS): Add ecoff.o and ecofflink.o.
Diffstat (limited to 'bfd/coff-mips.c')
-rw-r--r--bfd/coff-mips.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/bfd/coff-mips.c b/bfd/coff-mips.c
index d013bc1..8105bbb 100644
--- a/bfd/coff-mips.c
+++ b/bfd/coff-mips.c
@@ -2320,6 +2320,8 @@ static const struct ecoff_backend_data mips_ecoff_backend_data =
ecoff_swap_fdr_in,
ecoff_swap_rfd_in,
ecoff_swap_ext_in,
+ ecoff_swap_tir_in,
+ ecoff_swap_rndx_in,
/* Functions to swap out external symbolic data. */
ecoff_swap_hdr_out,
ecoff_swap_dnr_out,
@@ -2328,7 +2330,11 @@ static const struct ecoff_backend_data mips_ecoff_backend_data =
ecoff_swap_opt_out,
ecoff_swap_fdr_out,
ecoff_swap_rfd_out,
- ecoff_swap_ext_out
+ ecoff_swap_ext_out,
+ ecoff_swap_tir_out,
+ ecoff_swap_rndx_out,
+ /* Function to read in symbolic data. */
+ ecoff_slurp_symbolic_info
},
/* External reloc size. */
RELSZ,