aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
AgeCommit message (Collapse)AuthorFilesLines
1992-11-05* bfd-in.h, bfd.c, libbfd.h, reloc.c, seclet.h, section.c,John Gilmore1-2/+12
targets.c: Rename struct bfd_seclet_struct to struct bfd_seclet.
1992-09-26Add Adobe a.out support.John Gilmore1-3/+9
* aout-adobe.c: New file. So far, only reads a.out.adobe. FIXME. * config/adobe.mt: Add. * configure.in (*-adobe-* target): Add. * targets.c (a_out_adobe_vec): Add. * Makefile.in: add aout-adobe.c. * configure.in: Put two dashes in all entries to be matched. Add comments to remind people to do this. Reorder all entries that match manufacturer names, to occur last, so they will only be matched if no more specific match occurs. Remove manufacturers `aout', `bout', `coff', and `elf'.
1992-09-01 * targets.c (target_vector): Take out oasys (unless that isPer Bothner1-2/+4
the default): Because there is no magic number in archives, there can be annoying target mis-matches.
1992-08-28Back out yesterday's change for using host endian order in 960 bout files.Ian Lance Taylor1-35/+2
1992-08-28Thu Aug 27 17:01:04 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-2/+35
* targets.c, config/i960-bout.mt, hosts/*: added HOST_BIG_ENDIAN_DEFAULT_VECTOR and HOST_LITTLE_ENDIAN_DEFAULT_VECTOR because bout archive format depends on the endianness of the host. Added #define HOST_BIG_ENDIAN_P and #undef HOST_BIG_ENDIAN_P to a number of configuration files in hosts/ (it was already in some).
1992-08-27Add preliminary support for the we32k (AT&T 3b2).Brendan Kehoe1-3/+6
1992-06-22Lint stuff which didn't make it last timeSteve Chamberlain1-1/+1
1992-06-19* Makefile.in, archures.c, configure.in, cpu-hppa.c, hppa.c, libhppa.h,Stu Grossman1-1/+8
targets.c: HPPA merge.
1992-06-16[time to file a PR on cvs...]Ken Raeburn1-4/+24
Various changes to get linker working again for a.out: * don't set/adjust section file positions or vmas more than once * use correct page size and segment size when calculating them * deal with some variations in a.out implementations Tested on sun4 and sun4->sun3 so far, will be testing further but needed to get wider exposure&testing. See ChangeLog for details. Also: * coffcode.h (coff_write_relocs): Write out swapped reloc, not pre-swapped version. * hosts/sparc.h (abort, exit): Hide these names if compiling with gcc version 2, to avoid warnings.
1992-05-02 * targets.c, Makefile.in: comment out tekhex for the moment.Steve Chamberlain1-2/+5
* ieee.c: if some places where null pointers were used instead of &bfd_abs_section. * configure.in: tandem target is st2000 * coff-m68k.c: rename static howto_table to global m68kcoff_howto_table. * bout.c: remove unnecessary abort
1992-02-07Fluff removal.Steve Chamberlain1-1/+1
1992-01-24Uses the new small reloc type now.Steve Chamberlain1-2/+6
Currently self hosts on sun4 and sun3
1991-12-08Remove crass vaxism. Now SELECT_VECS will do something again.Steve Chamberlain1-2/+36
1991-12-08 * aoutx.h, archive.c, archures.c, bfd.c, cache.c, coff-m88k.c,Steve Chamberlain1-141/+16
coffcode.h, core.c, ctor.c, elf.c, format.c, ieee.c, init.c, libbfd.c, libbfd.h, libcoff.h, opncls.c, reloc.c, section.c, srec.c, syms.c, targets.c : all new documentation and lint removal.
1991-12-01New documentation styleSteve Chamberlain1-228/+246
1991-11-27 * Makefile.in: added coff-h8300Steve Chamberlain1-0/+5
* configure.in: now h8 is a coff target * cpu-h8300.c: fix various disassembly problems * libcoff.h: took out some code which has been #0ed for a long time. * targets.c: added h8 coff * coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c added new macro RTYPE2HOWTO to take a load of #ifdefs out of coffcode.h * coffcode.h: Started to change the way machine dependencies are handled, from the nest of #ifdefs to macros defined in the including coff-<foo>.c
1991-11-22const lintJohn Gilmore1-8/+26
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