aboutsummaryrefslogtreecommitdiff
path: root/bfd/libelf.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-11-24 07:21:28 +0000
committerIan Lance Taylor <ian@airs.com>1993-11-24 07:21:28 +0000
commit8d12f138ea2c588054dfc99e8d7d7e228cac384a (patch)
tree3e08954055051306f630a802a067b4ea4b85bcd7 /bfd/libelf.h
parent71efdf833f230dfdda691157f65bd9de4eb57839 (diff)
downloadgdb-8d12f138ea2c588054dfc99e8d7d7e228cac384a.zip
gdb-8d12f138ea2c588054dfc99e8d7d7e228cac384a.tar.gz
gdb-8d12f138ea2c588054dfc99e8d7d7e228cac384a.tar.bz2
* ecofflink.c: New file to hold ECOFF debug information linking
routines. * ecoff.c (ecoff_clear_output_flags, ecoff_rel, ecoff_dump_seclet, ecoff_add_string, ecoff_get_debug): Removed. Functionality now in ecofflink.c. (ecoff_get_extr, ecoff_set_index): New functions. (ecoff_slurp_symbolic_info): Don't save raw_size. (ecoff_bfd_seclet_link): Rewrote to use ecofflink.c functions. (ecoff_compute_section_file_positions): Don't set EXEC_P just because there is a start address. (ecoff_write_object_contents): Handle external symbols here. Use ecofflink.c functions to write out debugging information. * elf32-mips.c (mips_elf_read_ecoff_info, mips_elf_get_extr, mips_elf_set_index): New functions. (mips_elf_seclet_link): Discard empty sections, the .options section and .gptab sections. Handle linking .mdebug section. * libecoff.h (ecoff_data_type): Removed raw_size and ifdbase. * libelf.h (elf_symbol_type): Added mips_extr to tc_data union. * bfd-in.h: Added prototypes for routines in ecofflink.c (some are called by gas, so they are public). * bfd-in2.h: Rebuilt. * Makefile.in (BFD_LIBS): Added ecofflink.o. (CFILES): Added ecofflink.c. (ecofflink.o): New target. Rebuilt dependencies.
Diffstat (limited to 'bfd/libelf.h')
-rw-r--r--bfd/libelf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/libelf.h b/bfd/libelf.h
index 04db170..838df6c 100644
--- a/bfd/libelf.h
+++ b/bfd/libelf.h
@@ -57,6 +57,7 @@ typedef struct
union
{
unsigned int hppa_arg_reloc;
+ struct ecoff_extr *mips_extr;
PTR any;
}
tc_data;