summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* * oasys.c (oasys_write_object_contents): Lint.John Gilmore1993-02-163-8/+17
| | | | * srec.c: Whitespace cleanup.
* no more v9 code in aoutx.hDavid D. Zuhn1993-02-131-16/+0
|
* Fri Feb 12 14:23:07 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1993-02-122-94/+92
| | | | | * coffgen.c (coff_print_symbol): Print correct tagndx value; cleaned up output formatting a bit.
* * coffcode.h (coff_set_arch_mach_hook): *FIXME* the H8/300 is alwaysSteve Chamberlain1993-02-122-1/+72
| | | | relaxable. Should be moved somewhere else.
* Eliminated uses of DEFUN. Added seclet_link element to vectors.Ken Raeburn1993-02-111-17/+19
|
* H8/500 supportSteve Chamberlain1993-02-043-0/+216
|
* Thu Feb 4 12:35:02 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1993-02-043-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.
* Wed Feb 3 09:14:36 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1993-02-032-17/+5
| | | | | * coffcode.h: Removed MIPS specific information, since coff-mips.c no longer includes this file.
* Wed Feb 3 09:14:36 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1993-02-032-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.
* Fix some minor bugs, make work on big endian machines, rememberIan Lance Taylor1993-02-031-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.
* Keep mipsbsd.h.John Gilmore1993-02-031-0/+1
|
* Remove "done in pwd" msg.John Gilmore1993-02-031-2/+0
|
* Eliminate extraneous messages and RCS log.John Gilmore1993-02-031-20/+2
|
* Remove "done in" message.John Gilmore1993-02-031-2/+0
|
* Add aout-mipsbsd.cJohn Gilmore1993-02-031-0/+1
|
* * aoutx.h (NAME(aout,slurp_symbol_table)): Made symbolPer Bothner1993-02-021-0/+6
| | | | | reading more robust: Fail if string index is out of string table range.
* General cleanup--added prototypes, removed a few unused variables,Ian Lance Taylor1993-02-021-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.
* Create a .scommon section for each input BFD so the linker hasIan Lance Taylor1993-02-022-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.
* from ralphc: mips-aout supportKen Raeburn1993-02-012-1/+469
|
* from ralphc: recognize some mips variantsKen Raeburn1993-02-011-43/+54
|
* accept mips-dec-bsd* and i?86-*-elfKen Raeburn1993-02-011-0/+16
|
* changes from Ralph Campbell @ Pyramid for MIPS a.out (BSD 4.4) supportKen Raeburn1993-02-011-0/+49
|
* Checkpoint. Can now create MIPS style armap hash tables. Fixed someIan Lance Taylor1993-01-291-35/+189
| | | | | linker problems. The linker still needs to learn to put SCommon symbols in .sbss rather than .bss.
* Fix typo in file name.John Gilmore1993-01-291-1/+1
|
* Fix minor bugs reported by Carl Greco, <cgreco@parrot.creighton.edu>:John Gilmore1993-01-292-1/+7
| | | | | * hosts/delta88.h (strtol): Fix prototype. * config/m88k-coff.mh (SELECT_ARCHITECTURES): Fix name.
* Checkpoint. Linker appears to work.Ian Lance Taylor1993-01-271-95/+151
|
* Tue Jan 26 11:43:14 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1993-01-265-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.
* Checkpoint. ld works, ld -r doesn't.Ian Lance Taylor1993-01-251-260/+930
|
* Mon Jan 25 15:27:36 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1993-01-252-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.
* * coffswap.h (coff_swap_aouthdr_in, coff_swap_aouthdr_in): SwapIan Lance Taylor1993-01-251-0/+17
| | | | additional MIPS ECOFF fields.
* Revert yesterday's change (adding casts) at gnu's request.Ian Lance Taylor1993-01-202-35/+18
|
* Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1993-01-194-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.
* Checkpoint. Can now read relocs.Ian Lance Taylor1993-01-191-80/+509
|
* Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1993-01-191-0/+2
| | | | * bfd-in.h (bfd_asymbol_value): Add needed parentheses.
* Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1993-01-191-0/+4
| | | | * libcoff-in.h: Update prototype for coff_count_linenumbers.
* Basically a checkpoint for coff-mips.c.Ian Lance Taylor1993-01-153-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.
* * libcoff.h, coffgen.c (coff_count_linenumbers), coffcode.hSteve Chamberlain1993-01-141-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.
* Mon Jan 11 18:32:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor1993-01-1210-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.
* Use struct bfd_seclet * rather than bfd_seclet_type in prototypes toIan Lance Taylor1993-01-103-6/+6
| | | | avoid requiring seclet.h before libcoff.h.
* * coffgen.c: #include seclet.h.Stu Grossman1993-01-102-0/+5
|
* * hppa.c (hppa_object_setup): Get rid of all knowledge of stabsStu Grossman1993-01-102-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.
* * coffcode.h (sec_to_styp_flags): allow SEC_NEVER_LOAD to turn onSteve Chamberlain1993-01-082-31/+60
| | | | | STYP_NOLOAD bit. * coff-z8k.c: delete unused reloc functions
* Basically a checkpoint.Ian Lance Taylor1993-01-085-77/+1386
| | | | | | | | | | Fri Jan 8 15:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * bfd.c (struct _bfd): Added ecoff_tdata to tdata union. * targets.c (enum target_flavour): Added bfd_target_ecoff_flavour. * coff-msym.c: Use DEFUN for function definitons. * coff-mips.c: Added code to read and print symbols, and to find line numbers.
* Forgot to commit ChangeLog.Ian Lance Taylor1993-01-081-1/+25
|
* These changes cut the size of libbfd.a on a Sun4 by about 11%.Ian Lance Taylor1993-01-088-2558/+3163
| | | | | | | | | | | | | | | | | | | | | | | Somewhat more could be done. Fri Jan 8 15:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * coffcode.h: Moved many generic functions into coffgen.c. Moved swapping functions into coffswap.h for ECOFF use. Moved relocation functions, only used by h8300 and z8k, into reloc16.c. Added hooks for coffgen.c functions to backend data structure, and added hook functions. Still more could be done. * coffswap.h: New file to hold COFF swapping routines. * coffgen.c: New file to hold generic COFF functions. * reloc16.c: New file to hold h8300 and z8k specific relocation functions. * libcoff-in.h: Added declarations for functions in coffgen.c. * libcoff.h: Rebuilt to incorporate changes. * coff-h8300.c: Function name changes. * coff-z8k.c: Function name changes. Use coff_reloc16_extra_cases hook rather than defining EXTRA_CASES. * Makefile.in: Build new files coffgen and reloc16. Added dependencies of coff-*.o on coffswap.h and seclet.h.
* use bfd_xmalloc instead of mallocDavid D. Zuhn1993-01-062-1/+5
|
* Temporary hack until Per's solution gets implemented: If --with-minimal-bfd isKen Raeburn1993-01-051-0/+5
| | | | specified, set MINIMIZE=1. (Not the default.)
* * srec.c (srec_write_records): one of my boards wants a CR betweenSteve Chamberlain1993-01-041-0/+5
| | | | records.
* Wed Dec 30 12:46:30 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1992-12-302-1/+6
| | | | | * archive.c (do_slurp_coff_armap): set symdef_count correctly (it broke a couple of weeks ago).
* fix libbfd.h declaration, by tweaking elf.c comment, so bfd can compileKen Raeburn1992-12-302-2/+7
|