aboutsummaryrefslogtreecommitdiff
path: root/bfd/libelf.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-01-11 16:23:41 +0000
committerIan Lance Taylor <ian@airs.com>1994-01-11 16:23:41 +0000
commitcf286547ef96a3efa328ff53e2760aa63edf837e (patch)
tree219cc5f30704e9b9929651966568351faba4bf10 /bfd/libelf.h
parent6397809b7f806b7a38169ba8cacf3d910b2d8b4f (diff)
downloadgdb-cf286547ef96a3efa328ff53e2760aa63edf837e.zip
gdb-cf286547ef96a3efa328ff53e2760aa63edf837e.tar.gz
gdb-cf286547ef96a3efa328ff53e2760aa63edf837e.tar.bz2
* ecofflink.c: Extensive changes to compress and merge debugging
information, and to write some of out directly rather than saving it in memory. Several new functions and structures, and new arguments to existing functions. * ecoff.c (ecoff_compute_reloc_file_positions): Compute sym_filepos as well. (ecoff_get_extr): Use ifdmap instead of ifdbase. (ecoff_write_object_contents): Don't compute sym_filepos here. Only output symbols if outsymbols is not NULL. (ecoff_bfd_final_link): Adjust for changes in ecoff_debug_info and bfd_ecoff_debug functions. Write out debugging information here. (ecoff_final_link_debug_accumulate): Adjust for changes in bfd_ecoff_debug functions. (ecoff_link_write_external): Use ifdmap rather than ifdbase. * elf32-mips.c (mips_elf_read_ecoff_info): Read external symbols first, to put them in the first memory buffer. Clear fdr field. (mips_elf_get_extr): Use pointer to unswapped external symbol. (mips_elf_final_link): Adjust for changes in bfd_ecoff functions. Preserve .text, .data and .bss even if they are empty. Save pointer to unswapped external symbol rather than copying it. Don't free up the external symbols. * libelf.h (elf_symbol_type): Change mips_extr to PTR. * bfd-in.h (bfd_ecoff_debug_init, bfd_ecoff_debug_free): Declare. (bfd_ecoff_debug_accumulate): Update declaration. (bfd_ecoff_debug_accumulate_other): Rename declaration from bfd_ecoff_debug_link_other and update. (bfd_ecoff_write_accumulated_debug): Declare. * bfd-in2.h: Rebuilt. * Makefile.in: Rebuilt dependencies.
Diffstat (limited to 'bfd/libelf.h')
-rw-r--r--bfd/libelf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libelf.h b/bfd/libelf.h
index 311bb1f..66692b6 100644
--- a/bfd/libelf.h
+++ b/bfd/libelf.h
@@ -57,7 +57,7 @@ typedef struct
union
{
unsigned int hppa_arg_reloc;
- struct ecoff_extr *mips_extr;
+ PTR mips_extr;
PTR any;
}
tc_data;