aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1993-02-23 * Minor cleanups provoked by gcc warnings:Ian Lance Taylor3-11/+14
* 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.
1993-02-23 * bfd-in.h (JUMP_TABLE): Added bfd_reloc_type_lookup andIan Lance Taylor8-48/+85
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.
1993-02-23 * libcoff.h (obj_raw_syment_coun): New macro.Per Bothner3-13/+26
* coffgen.c (coff_get_normalized_symtab): Initialize raw_syment_count. * coffgen.c (coff_find_nearest_line): Numerous little fixes.
1993-02-22 * coff-mips.c (ecoff_set_symbol_info): stBlock symbols are alwaysIan Lance Taylor2-66/+46
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.
1993-02-17* trad-core.c (trad_unix_make_empty_symbol): wrap PARAMS around anK. Richard Pixley1-0/+3
ansi definition which otherwise confuses non-ansi compilers.
1993-02-17aout-adobe.c (aout_adobe_object_p): eliminate a warning from vaxK. Richard Pixley1-0/+6
ultrix cc by forward declaring getenv as is done in bfd_find_target.
1993-02-17cast an enum into unsigned char avoiding a fatal error in vax ultrix 4.2 cc.K. Richard Pixley1-0/+5
1993-02-16Added 1993 copyrights to files that I have changed in 1993. Some wereIan Lance Taylor8-32/+71
missing 1992 copyrights, although they changed in 1992.
1993-02-16Roll to version 2.1.John Gilmore3-3/+9
1993-02-16* oasys.c (oasys_write_object_contents): Lint.John Gilmore3-8/+17
* srec.c: Whitespace cleanup.
1993-02-13no more v9 code in aoutx.hDavid D. Zuhn1-16/+0
1993-02-12Fri Feb 12 14:23:07 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-94/+92
* coffgen.c (coff_print_symbol): Print correct tagndx value; cleaned up output formatting a bit.
1993-02-12 * coffcode.h (coff_set_arch_mach_hook): *FIXME* the H8/300 is alwaysSteve Chamberlain2-1/+72
relaxable. Should be moved somewhere else.
1993-02-11Eliminated uses of DEFUN. Added seclet_link element to vectors.Ken Raeburn1-17/+19
1993-02-04H8/500 supportSteve Chamberlain3-0/+216
1993-02-04Thu Feb 4 12:35:02 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor3-23/+49
* 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.
1993-02-03Wed Feb 3 09:14:36 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-17/+5
* coffcode.h: Removed MIPS specific information, since coff-mips.c no longer includes this file.
1993-02-03Wed Feb 3 09:14:36 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-2/+10
* 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.
1993-02-03Fix some minor bugs, make work on big endian machines, rememberIan Lance Taylor1-14/+23
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.
1993-02-03Keep mipsbsd.h.John Gilmore1-0/+1
1993-02-03Remove "done in pwd" msg.John Gilmore1-2/+0
1993-02-03Eliminate extraneous messages and RCS log.John Gilmore1-20/+2
1993-02-03Remove "done in" message.John Gilmore1-2/+0
1993-02-03Add aout-mipsbsd.cJohn Gilmore1-0/+1
1993-02-02 * aoutx.h (NAME(aout,slurp_symbol_table)): Made symbolPer Bothner1-0/+6
reading more robust: Fail if string index is out of string table range.
1993-02-02General cleanup--added prototypes, removed a few unused variables,Ian Lance Taylor1-180/+290
fixed up comments a bit. Also set version stamp in a.out header to 0x20a rather than 0, to keep the Ultrix linker happy.
1993-02-02Create a .scommon section for each input BFD so the linker hasIan Lance Taylor2-20/+87
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.
1993-02-01from ralphc: mips-aout supportKen Raeburn2-1/+469
1993-02-01from ralphc: recognize some mips variantsKen Raeburn1-43/+54
1993-02-01accept mips-dec-bsd* and i?86-*-elfKen Raeburn1-0/+16
1993-02-01changes from Ralph Campbell @ Pyramid for MIPS a.out (BSD 4.4) supportKen Raeburn1-0/+49
1993-01-29Checkpoint. Can now create MIPS style armap hash tables. Fixed someIan Lance Taylor1-35/+189
linker problems. The linker still needs to learn to put SCommon symbols in .sbss rather than .bss.
1993-01-29Fix typo in file name.John Gilmore1-1/+1
1993-01-29Fix minor bugs reported by Carl Greco, <cgreco@parrot.creighton.edu>:John Gilmore2-1/+7
* hosts/delta88.h (strtol): Fix prototype. * config/m88k-coff.mh (SELECT_ARCHITECTURES): Fix name.
1993-01-27Checkpoint. Linker appears to work.Ian Lance Taylor1-95/+151
1993-01-26Tue Jan 26 11:43:14 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor5-36/+41
* 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.
1993-01-25Checkpoint. ld works, ld -r doesn't.Ian Lance Taylor1-260/+930
1993-01-25Mon Jan 25 15:27:36 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-32/+45
* 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.
1993-01-25 * coffswap.h (coff_swap_aouthdr_in, coff_swap_aouthdr_in): SwapIan Lance Taylor1-0/+17
additional MIPS ECOFF fields.
1993-01-20Revert yesterday's change (adding casts) at gnu's request.Ian Lance Taylor2-35/+18
1993-01-19Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor4-43/+60
* 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.
1993-01-19Checkpoint. Can now read relocs.Ian Lance Taylor1-80/+509
1993-01-19Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+2
* bfd-in.h (bfd_asymbol_value): Add needed parentheses.
1993-01-19Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+4
* libcoff-in.h: Update prototype for coff_count_linenumbers.
1993-01-15Basically a checkpoint for coff-mips.c.Ian Lance Taylor3-134/+1774
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.
1993-01-14 * libcoff.h, coffgen.c (coff_count_linenumbers), coffcode.hSteve Chamberlain1-0/+9
(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.
1993-01-12Mon Jan 11 18:32:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor10-73/+176
* targets.c (bfd_target): Added relocateable argument to _bfd_get_relocated_section_contents. Added _bfd_seclet_link target vector for linker use. * bfd.c (bfd_seclet_link): New macro. * bfd-in.h (JUMP_TABLE): Added _bfd_seclet_link. * seclet.c (rel, seclet_dump_seclet): Added relocateable argument and boolean return value. Made static. (bfd_generic_seclet_link): Renamed from seclet_dump. Added relocateable argument. * reloc.c (bfd_generic_get_relocated_section_contents): Added relocateable argument (if relocateable, saves relocs). * bout.c (b_out_get_relocated_section_contents), reloc16.c (bfd_coff_reloc16_get_relocated_section_contents): Added relocateable argument (if relocateable, just calls bfd_generic_get_relocated_section_contents). * libcoff-in.h (bfd_coff_reloc16_get_value): Added relocateable argument to prototype. * All targets: Set new _bfd_seclet_link vector to bfd_generic_seclet_link.
1993-01-10Use struct bfd_seclet * rather than bfd_seclet_type in prototypes toIan Lance Taylor3-6/+6
avoid requiring seclet.h before libcoff.h.
1993-01-10 * coffgen.c: #include seclet.h.Stu Grossman2-0/+5
1993-01-10 * hppa.c (hppa_object_setup): Get rid of all knowledge of stabsStu Grossman2-64/+37
debug info. Setup info about linker symbols only, and use standard bfd fields to hold the info. * (hppa_object_p): Remove unneeded decls. * (hppa_new_section_hook): Get rid of most of this. * libhppa.h (struct hppadata): Remove ten pounds of useless ugly fat. Remove all knowledge of stabs, remove redundant knowledge of linker symbols. * Remove macros for accessing fields which are now gone.