Age | Commit message (Collapse) | Author | Files | Lines |
|
Mostly playing with elves.
|
|
|
|
|
|
type SHT_STRTAB. Don't alter file offset for section 0.
(reloc_type_names): Now an array instead of a macro. Still inside
"#if 0", since it's used only in debugging code also in "#if 0".
(struct elf_reloc_map_elt, struct elf_reloc_map): New types.
(sort_reloc_map): New function.
(sparc_reloc_map): New variable.
(elf_bfd_reloc_type_lookup): New function.
Now bfd-gas can create valid empty object files for sun4sol2.
|
|
* aoutx.h (NAME(aout, reloc_type_lookup)),
cpu-h8300.c (local_bfd_reloc_type_lookup),
cpu-z8k.c (local_bfd_reloc_type_lookup): Added default case to
switches.
* archive.c (do_slurp_bsd_armap, do_slurp_coff_armap),
ieee.c (ieee_slurp_section_data),
elf.c (elf_make_sections, elf_fake_sections,
elf_compute_section_file_positions, elf_write_object_contents):
Removed unused variables.
* archures.c: Removed /* from within comment.
* bout.c (b_out_squirt_out_relocs): Initialize r_extern.
* oasys.c (oasys_write_data): Initialize i.
|
|
bfd_make_debug_symbol; they were already in the target structure.
* Adjusted all uses of JUMP_TABLE.
* coffgen.c, libcoff-in.h (coff_bfd_make_debug_symbol): Renamed
from coff_make_debug_symbol.
* libcoff.h: Updated accordingly.
|
|
* coffgen.c (coff_get_normalized_symtab): Initialize
raw_syment_count.
* coffgen.c (coff_find_nearest_line): Numerous little fixes.
|
|
debugging symbols.
(ecoff_get_debug): Offset the fdr adr by the adr of the first pdr,
for compatibility with tools from MIPS.
* config/bigmips.mt: New file; default vector is ecoff_big_vec.
* config/irix3.mt, config/irix4.mt: Removed.
* configure.in (mips-*-ecoff): New target; uses bigmips.mt.
(mips-sgi-*, mips-big-*): Use bigmips rather than irix3.
|
|
ansi definition which otherwise confuses non-ansi compilers.
|
|
ultrix cc by forward declaring getenv as is done in bfd_find_target.
|
|
|
|
missing 1992 copyrights, although they changed in 1992.
|
|
|
|
* srec.c: Whitespace cleanup.
|
|
|
|
* coffgen.c (coff_print_symbol): Print correct tagndx value;
cleaned up output formatting a bit.
|
|
relaxable. Should be moved somewhere else.
|
|
|
|
|
|
* libecoff.h: New file. Defines ECOFF backend data for gdb.
* coff-mips.c: Now includes libecoff.h.
(ecoff_data_type): Moved to libecoff.h.
(ecoff_slurp_symbolic_info): Made globally visible so that gdb can
call it. If there is ever another ECOFF target, this and the
swapping functions should be accessed via an ECOFF specific target
vector.
Makefile.in (coff-mips.o): Depends on libecoff.h.
|
|
* coffcode.h: Removed MIPS specific information, since coff-mips.c
no longer includes this file.
|
|
* coff-msym.c (ecoff_swap_fdr_in, ecoff_swap_ext_in): Set reserved
bits to 0 to make comparison test useful.
* config/irix3.mh, config/irix4.mh (HDEFINES): Set to -G 4 to
avoid overflowing GP accessible sections in binutils/objdump.
|
|
text_start and text_end for future use by gdb and current use by
find_nearest_line. Still covered by last ChangeLog entry, I think.
|
|
|
|
|
|
|
|
|
|
|
|
reading more robust: Fail if string index is out of string
table range.
|
|
fixed up comments a bit. Also set version stamp in a.out header to
0x20a rather than 0, to keep the Ultrix linker happy.
|
|
something to attach small common symbols to. Then avoid writing out
the (empty) .scommon section for the output BFD.
Tue Feb 2 11:41:06 1993 Ian Lance Taylor (ian@cygnus.com)
* coff-mips.c: Completed support for linker and binutils.
|
|
|
|
|
|
|
|
|
|
linker problems. The linker still needs to learn to put SCommon
symbols in .sbss rather than .bss.
|
|
|
|
* hosts/delta88.h (strtol): Fix prototype.
* config/m88k-coff.mh (SELECT_ARCHITECTURES): Fix name.
|
|
|
|
* section.c (SEC_IS_COMMON): New section flag, needed for MIPS
ECOFF which has two common sections.
(bfd_com_section): Set SEC_IS_COMMON flag.
* bfd-in.h (bfd_is_com_section): New macro to test SEC_IS_COMMON.
* aoutx.h, archive.c, bout.c, coff-a29k.c, coff-m88k.c,
coff-mips.c, coffgen.c, ieee.c, oasys.c, reloc.c, syms.: Use
bfd_is_com_section macro rather than checking for equality to
bfd_com_section.
|
|
|
|
* coffcode.h (_bfd_coff_mkobject_hook): Pass aouthdr argument.
(coff_mkobject_hook): Accept aouthdr argument.
* coffgen.c (coff_real_object_p): Pass aouthdr to mkobject_hook.
Handle NULL aouthdr argument.
(coff_object_p): If there is no aouthdr, pass it as NULL to
coff_real_object_p.
* libcoff.h: Rebuilt for mkobject_hook changes.
|
|
additional MIPS ECOFF fields.
|
|
|
|
* aoutx.h (swap_ext_reloc_in, swap_std_reloc_in),
bout.c (b_out_slurp_reloc_table),
coff-mips.c (ecoff_swap_reloc_in),
coff-msym.c (ecoff_swap_sym_in, ecoff_swap_rndx_in,
ecoff_swap_opt_in): Added casts to int to avoid muttering by
MIPS compiler.
|
|
|
|
* bfd-in.h (bfd_asymbol_value): Add needed parentheses.
|
|
* libcoff-in.h: Update prototype for coff_count_linenumbers.
|
|
Fri Jan 15 18:13:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* coff-msym.c (ecoff_swap_hdr_out, ecoff_swap_fdr_out,
ecoff_swap_pdr_out, ecoff_swap_sym_out, ecoff_swap_ext_out,
ecoff_swap_rndx_out, ecoff_swap_rfd_out, ecoff_swap_opt_in,
ecoff_swap_opt_out, ecoff_swap_dnr_in, ecoff_swap_dnr_out): New
functions.
* coffswap.h: If NO_COFF_RELOCS is defined, don't define
bfd_swap_reloc_in or coff_swap_reloc_out.
* coff-mips.c: Added code to link and write out symbolic debugging
information, and to swap relocs in and out.
|
|
(coff_write_object_contents): coff_count_linenumbers returns the
number of line number records it found.
* coffgen.c (coff_write_linenumbers): only write out line numbers
in the section they belong to.
|