* ecofflink.c: New file to hold ECOFF debug information linking
authorIan Lance Taylor <ian@airs.com>
Wed, 24 Nov 1993 07:21:28 +0000 (07:21 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 24 Nov 1993 07:21:28 +0000 (07:21 +0000)
commit8d12f138ea2c588054dfc99e8d7d7e228cac384a
tree3e08954055051306f630a802a067b4ea4b85bcd7
parent71efdf833f230dfdda691157f65bd9de4eb57839
* 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.
bfd/ChangeLog
bfd/Makefile.in
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/ecoff.c
bfd/libelf.h