aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1991-10-08Add i386aout.cJohn Gilmore2-5/+12
1991-10-08Added MISSING_VFPRINTFPer Bothner1-0/+2
1991-10-08Add errno, for binutils.John Gilmore1-0/+1
1991-10-08 doc/Makefile: stop hiding complaints from makeinfo.Roland Pesch2-29/+32
1991-10-08 * reloc.c, section.c, syms.c, targets.c: correct info-nodeRoland Pesch2-25/+67
structure in *doc* comments.
1991-10-07* archures.c: Rename `struct bfd_arch_info_struct' to `structJohn Gilmore1-9/+1
bfd_arch_info'. Rename `typedef bfd_arch_info_struct_type' to `bfd_arch_info_type'. All uses changed.
1991-10-05h-amix.hJohn Gilmore1-1/+5
1991-10-05howto.c, configure, config.sub gone.John Gilmore1-4/+4
1991-10-05* bfd.c: Remove strerror() to libiberty.John Gilmore8-504/+406
* elf.c: Remove elf_set_section_contents, use generic one. Lint. * libbfd-in.h, libbfd.c: Add bfd_generic_set_section_contents. * libbfd.c (bfd_generic_{get,set}_section_contents): Check that last byte of transfer, not first byte, is within the section. * host-aout.c: Remove `BSD' archive support. Lint. * archures.c: Rename `struct bfd_arch_info_struct' to `struct bfd_arch_info'. Rename `typedef bfd_arch_info_struct_type' to `bfd_arch_info_type'. All uses changed. * reloc.c: Rename `bfd_reloc_status_enum_type' to `bfd_reloc_status_type'. Rename `bfd_reloc_code_enum_real_type' to `bfd_reloc_code_real_type'. (This seems to be a misnomer, it needs a better name.) All uses changed. * targets.c: Rename `enum target_flavour_enum' to `enum target_flavour', and remove the `_enum' from all of the enum values themselves. All uses changed. * configure.in, config/h-i386mach: i386 mach host. * config/t-i386-aout: Use host-aout.c. * trad-core.c: Give it its own xvec's to make it independent of other file formats. * ecoff.c, host-aout.c: Remove refs to trad-core. * config/t-dec3100, t-hp300bsd, t-tahoe, t-vax: Define TRAD_CORE. * targets.c: #ifdef TRAD_CORE, include it in the vector.
1991-10-05*** empty log message ***Steve Chamberlain1-0/+6
1991-10-05Fri Oct 4 17:38:03 1991 Steve Chamberlain (steve at cygnus.com)Steve Chamberlain3-385/+703
* reloc.c: Extended NEWHOWTO macro * ieee.c: Changed the way 8bit pcrel is done * cpu-h8300.c: got the registers in the right order
1991-10-04Specify TEXINPUTS when calling TeX so right texinfo.tex is used.Roland Pesch1-4/+8
1991-10-04Add 386 Mach host support.John Gilmore1-1/+5
1991-10-04Initial revisionJohn Gilmore1-0/+44
1991-10-04* bfd-in.h, libbfd-in.h, doc/Makefile, doc/tolibbfd, doc/intobfd:John Gilmore3-6/+2
Remove refs to howto.c, since Steve forgot.
1991-10-04* bfd-in.h: enum boolean => enum bfd_boolean for SVR4. Gumby'sJohn Gilmore4-9/+12
prediction is vindicated! * bfd-in.h, libbfd-in.h, doc/Makefile, doc/tolibbfd, doc/intobfd: Remove refs to howto.c, since Steve forgot.
1991-10-03Add elf.cJohn Gilmore1-1/+5
1991-10-03* fixed prototype for reloc_type_lookupSteve Chamberlain1-0/+65
1991-10-03 * elf.c: took the abort out of set_arch_mach so that objdump -i willSteve Chamberlain1-0/+21
still work. Now allows any architecture/machine to be set.
1991-10-03*** empty log message ***Steve Chamberlain1-0/+643
1991-10-02resyncK. Richard Pixley1-244/+75
1991-10-02steves h8 patchesK. Richard Pixley1-11/+35
1991-10-01* Makefile.in, configure.in, targets.c, elf.c: Add preliminaryJohn Gilmore3-5/+26
ELF support good enough for GDB. * configure.in, config/h-amix, config/t-m68k-elf: Handle m68k-cbm-svr4 host and target.
1991-10-01Initial revisionJohn Gilmore1-0/+61
1991-10-01*** empty log message ***Steve Chamberlain2-2/+15
1991-10-01Avoid depending on number of initializers.John Gilmore1-0/+2
1991-10-01Vax Ultrix changes from David Taylor <taylor@think.com>.John Gilmore2-1/+16
1991-10-01* sys/h-vaxult.h: Make it work. (David Taylor <taylor@think.com>)John Gilmore1-0/+43
1991-10-01 * bfd-in.h VERSION, change version number to 0.18, this makes aSteve Chamberlain1-1/+1
gap, but now is the same as the linker version number.
1991-10-01Added new macro NEWHOWTOSteve Chamberlain1-0/+28
1991-10-01Modified to generate the right includes for the new filesSteve Chamberlain3-7/+19
1991-10-01added:Steve Chamberlain1-0/+2
* amdcoff.c: (a29k_reloc) fix error message.
1991-10-01Insert the incidentals and things I forgot to ci last time, same log message:Steve Chamberlain6-35/+664
Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com) * 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. * amdcoff.c: (a29k_reloc) fix error message. * 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-10-01Exploit the new executable config.statusK. Richard Pixley1-54/+51
1991-10-01Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com)Steve Chamberlain5-353/+764
* 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-10-01Initial revisionSteve Chamberlain8-0/+865
1991-09-30* srec.c: Better error checking, partly from Peter Schauer.John Gilmore2-70/+70
(srec_object_p): Avoid assuming any file that starts with 'S' is an S-record file! (Check for 3 uppercase-hex digits after it.) (ISHEX): Define new macro for checking supposedly hex characters. (pass_over): Treat as EOF any S-record line that: * doesn't have hex in either size character * produces a size larger than 0x7F * has an unrecognized type number
1991-09-28Typos.John Gilmore1-2/+2
1991-09-26Lint (saber actually).John Gilmore8-293/+361
1991-09-26 * libaout.h (WRITE_HEADERS): Set header's a_text field always.Per Bothner2-15/+16
* newsos3.c: Fixed two types: newos3 -> newsos3.
1991-09-26Fix bfd_perform_relocation to handle pc-relative relocs better.Per Bothner2-4/+47
1991-09-20Undo precipitous changes.John Gilmore3-15/+6
1991-09-19*** empty log message ***Sean Eric Fagan1-8/+9
1991-09-19Stuff for new machiensSteve Chamberlain2-3/+9
1991-09-19Initial revisionSteve Chamberlain1-0/+51
1991-09-19*** empty log message ***Steve Chamberlain1-2/+8
1991-09-17Initial revisionStu Grossman1-0/+40
1991-09-17sgi/irix config stuff.Stu Grossman1-1/+5
1991-09-17Put back definition of offsetof. Only define it if it's not defined on thisStu Grossman1-0/+5
system.
1991-09-16Remove o_offsetof BS. Use local def if available.Stu Grossman1-7/+7