aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
AgeCommit message (Collapse)AuthorFilesLines
1993-06-22regeneratedKen Raeburn1-2/+2
1993-06-21Regenerated after Kingdon's changes to cache.c.Ken Raeburn1-23/+24
(Declaration for bfd_cache_init is gone now.)
1993-04-17 * libbfd.c: Add signed versions of bfd_{h_,}{get,put}_signed_<size>.Jim Kingdon1-16/+17
libbfd.c, libbfd-in.h: Add _do*signed*. targets.c, all targets: Add bfd*signed*. bfd-in.h: Add bfd_signed_vma. Add comments.
1992-12-30regenerated from current sources - bfd_elf_find_section return type changedKen Raeburn1-1/+1
1992-12-16Various changes to improve archive support. See ChangeLog.Per Bothner1-83/+80
1992-11-05Cleanup: Replace all uses of EXFUN in the BFD sources, with PARAMS.John Gilmore1-25/+69
* archures.c, reloc.c, section.c, tekhex.c: Use PARAMS in declaring pointers to functions. * cache.c, elf.c: Move static function decls to top, use PARAMS. * seclet.h: Declare external function with PARAMS. * libbfd.h: Update, based on changes in source code and chew.
1992-10-23Fri Oct 23 13:55:35 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-1/+3
* Check fclose return value for errors. libbfd.h: bfd_cache_close now returns a boolean. cache.c (bfd_cache_delete): return fclose success value. (bfd_cache_close): return bfd_cache_delete return value. opncls.c (bfd_close, bfd_close_all_done): return result of bfd_cache_close.
1992-06-24 * libbfd.h, libbfd-in.h (bfd_seek): Make prototype match definition.Fred Fish1-1/+1
* reloc.c (bfd_default_reloc_type_lookup): Make cast on return type match actual return type. * elf_print_symbol (section_name): Make CONST.
1992-06-22Fri Jun 19 20:23:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain1-2/+1
Lints for bfd_reloc_code_type->bfd_reloc_code_real_type, and correct calling of howto special functions and fixes from Raeburn for gas<>bfdness * archures.c: nuke bfd_reloc_code_type * bout.c, cpu-h8300.c, coff-i960.c, coff-m88k.c: special function lint * coffcode.h (styp_to_sec_flags): STYP_INFO is marked as SEC_NEVER_LOAD, various other bfdgas newness * reloc.c->libbfd.h: change protype of bfd_default_reloc_type_lookup * targets.c: change jump table vector to above
1992-06-20* elf.c (bfd_elf_find_section): Mark as INTERNAL_FUNCTION soJohn Gilmore1-1/+3
its prototype will be included in libbfd.h. Change result type to struct * (rather than equivalent typedef) so it can be used in the prototype, where they typedef won't be known. * libbfd.h: Updated version.
1992-02-14pointer lint and tandem target.Steve Chamberlain1-3/+2
1992-02-07Fluff removal.Steve Chamberlain1-0/+5
1992-01-24Uses the new small reloc type now.Steve Chamberlain1-9/+20
Currently self hosts on sun4 and sun3
1991-12-01New order documentationSteve Chamberlain1-19/+3
1991-12-01New documentation styleSteve Chamberlain1-187/+24
1991-11-22ALIGN -> BFD_ALIGNJohn Gilmore1-4/+44
1991-10-28Sun Oct 27 16:56:58 1991 Steve Chamberlain (steve at cygnus.com)Steve Chamberlain1-10/+27
* configure.in: add motorola delta88 cases * libbfd.h, libbfd-in.h, archive.c, ieee.c, elf.c, srec.c: fix write_armap prototype * libbfd.c: add doc on bfd_write_bigendian_4byte_int
1991-10-04* bfd-in.h: enum boolean => enum bfd_boolean for SVR4. Gumby'sJohn Gilmore1-3/+0
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-01Insert the incidentals and things I forgot to ci last time, same log message:Steve Chamberlain1-11/+90
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-08-19Fixed minor typos.Roland Pesch1-1/+1
1991-08-19Mon Aug 19 13:48:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com)Roland Pesch1-6/+6
* aoutx.h, archive.c, archures.c, bfd.c, bfd.texinfo, cache.c, coffcode.h, core.c, format.c, libbfd.c, libbfd.h, libcoff.h, opncls.c, reloc.c, section.c, syms.c, targets.c (documentation segments): used BFD (caps) more consistently as a name in discourse, fixed a few other minor typos and uses of fonts
1991-08-17DocumentationSteve Chamberlain1-36/+75
1991-07-04Now full of documentation. Yum Yum.Steve Chamberlain1-5/+54
1991-05-29Merge in changes from gdb-3.95 release into mainstream of BFD development.John Gilmore1-1/+1
Support defaulted (search all) targets and specific (only check one) targets.
1991-05-21*** empty log message ***Steve Chamberlain1-10/+13
1991-05-10Split up a.out handlers into generic and target-specific.John Gilmore1-3/+9
Remove close_and_cleanup. Lint.
1991-05-09Add bfd_generic_get_section_contents.John Gilmore1-1/+5
1991-05-08LintSteve Chamberlain1-1/+1
1991-05-02Merge devo/bfd with GDB's bfd.John Gilmore1-16/+20
Remove obstack.h to ../include and obstack.c to ../libiberty. Move COFF symbol swapping code to coffswap.c where GDB can call it but it won't be duplicated if we have N different COFF targets. Add support for traditional Unix core files (with a upage). This support is from an Ultrix port, but is probably slightly broken now. Improve bfd_release's of obstack'd items on error returns. gcc -Wall fixes. Handle section alignment slightly better in coff, and comment where it needs more work (on page-aligning virtual vs file addresses for DPAGED). Use set_tdata everywhere that tdata is set, to avoid "cast to the left of assignment" problems with some compilers. Move bfd_alloc, bfd_zalloc, bfd_realloc, and bfd_release into libbfd.h (from bfd.h) since they are internal routines. Remove the redundant suffix "_struct" from struct tags. Set symbol count early in file reading, before slurping in the syms, for GDB's use.
1991-04-15Merged in some changes from Intel,Steve Chamberlain1-6/+6
Added some more prototypes.
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+160