aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
AgeCommit message (Collapse)AuthorFilesLines
1991-10-25RS/6000 support, by Metin G. Ozisik, Mimi Phûông-Thåo Võ, and John Gilmore.John Gilmore1-0/+6
1991-10-21 * targets.c (proto write_armap). Changed orl_count to unsigned.Steve Chamberlain1-3/+3
* opncls.c (bfd_close_all_done). Added so that generative programs like gas can close a bfd without causing bfd confusion. * libbfd.h (changed becuase of protos) * amdcoff.c: messed with the way that jmp displacements are calcualated. This may not yet be totally correct. * archive.c (coff_write_armap): rewrote the way that ranlibs are written out. * coffcode.h (fixup_symbol_value): now doesn't core dump if a non abs symbol has no section (like a register symbol). (coff_write_symbol) now zeros auxent before filling it up to help with sensitive applications. * libbfd.c (bfd_write_bigendian_4byte_int): added.
1991-10-11 * bfd-in.h: Added more macros to COFF_SWAP_TABLE.Steve Chamberlain1-0/+40
* bfd.c: Added macros to enable gas to swap coff records. * coffcode.h: Make the coff_swap_*_out routines return the number of bytes swapped, and cleaned up their prototypes. * configure.in: Added ebmon/coff support * ecoff.c: Changed null definitions of coff_swap_*_out to conform to new prototypes * targets.c: Added new entry points for coff swapping
1991-10-11Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.John Gilmore1-1/+7
1991-10-08 * reloc.c, section.c, syms.c, targets.c: correct info-nodeRoland Pesch1-25/+42
structure in *doc* comments.
1991-10-01* Makefile.in, configure.in, targets.c, elf.c: Add preliminaryJohn Gilmore1-1/+14
ELF support good enough for GDB. * configure.in, config/h-amix, config/t-m68k-elf: Handle m68k-cbm-svr4 host and target.
1991-10-01Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com)Steve Chamberlain1-28/+38
* cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c, cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These files will eventually contain processor specific bits for bfd, like strange relocation information and dis/assembly. So far only the H8 has been even partially done. This work also ties in with the change in handling architectures. * aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to discover the architecture of the bfd. (sunos4_callback) calls the function bfd_set_arch_mach rather than stuffing stuff directly into the bfd. (sunos4_write_object_contents), changed names of accessor functions. * aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to setup the environment. * archive.c: (bfd_slurp_coff_armap) coff archives always have the headers in big endian format, regardless of the endianess of the host or target. * archures.c: totally changed. Now an architecture is represented with a pointer to an info structure rather than an enumerated type and a long. The old info is available as two elements in the structure. Future enhancements to architecure support will involve pointers to methods being placed into the info structure. * bfd.c: changed the definition of the bfd structure for the new architecture stuff. * bout.c: (b_out_set_arch_mach) changed to use the new architecture mechanism. * coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use the new architecture mechanism. * configure.in: added h8 stuff. * ieee.c: too many changes to note. Now ieee files written with bfd gas and ld can be read by gld and ieee only linkers and simulators. * libbfd.c, libbfd.h: changed prototype of bfd_write. * newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather than fixing the structure directly. * oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather than fixing the structure directly. * opncls.c: (new_bfd) makes sure that bfd_init has been called before opening a bfd. * srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach rather than fixing the structure directly. * targets.c: (target_vector) now by defining SELECT_VECS (perhaps in the t/hmake file) a user can select which backends they want linked with bfd without changing the source. * init.c: new, looks after initializing modules. * howto.c: for future use, will allow an application to work out what cookie to use as a handle on a relcoatio howto.
1991-07-19*** empty log message ***Steve Chamberlain1-11/+11
1991-07-15* aoutf1.h archive.c bfd.c coffcode.h core.c ecoff.c ieee.cSteve Chamberlain1-1/+6
bfd.texinfo oasys.c opncls.c reloc.c srec.c: More documentation on lint fixes. * amdcoff.c bfd.texinfo Makefile.in : Folded in changes for amd 29k coff by David Wood (wood@lab.ultra.nyu.edu).
1991-07-04Now full of documentation. Yum Yum.Steve Chamberlain1-44/+371
1991-05-29Merge in changes from gdb-3.95 release into mainstream of BFD development.John Gilmore1-1/+15
Support defaulted (search all) targets and specific (only check one) targets.
1991-05-25Added 386 support!Steve Chamberlain1-3/+11
1991-05-21*** empty log message ***Steve Chamberlain1-3/+12
1991-05-11Cleanups of interface, including close_and_cleanup and write_contentsJohn Gilmore1-11/+5
transfer vector changes. See ChangeLog.
1991-05-10Added 68kcoffSteve Chamberlain1-1/+5
1991-05-02Merge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a)John Gilmore1-1/+12
and make the result compile and run on the DEC 3100. It still has trouble running but it can handle opening exec and symbol files in ecoff format.
1991-04-23*** empty log message ***Steve Chamberlain1-4/+16
1991-04-18Working toward configuring targets.K. Richard Pixley1-16/+51
1991-04-17StuffSteve Chamberlain1-1/+1
1991-04-15Merged in some changes from Intel,Steve Chamberlain1-16/+22
Added some more prototypes.
1991-04-08*** empty log message ***Steve Chamberlain1-0/+2
1991-04-08Added little endian a.out.K. Richard Pixley1-18/+14
1991-04-04*** empty log message ***Steve Chamberlain1-2/+2
1991-04-04*** empty log message ***David Henkel-Wallace1-1/+7
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+50