aboutsummaryrefslogtreecommitdiff
path: root/bfd/cache.c
AgeCommit message (Collapse)AuthorFilesLines
1992-10-23If fclose fails, set bfd_error to system_call_error.Ian Lance Taylor1-3/+6
1992-10-23Fri Oct 23 13:55:35 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-12/+23
* 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-05-26This is a test to see if the file is still locked.Steve Chamberlain1-4/+8
1991-12-12 * makefile.dos, configdj.bat: New files from DJSteve Chamberlain1-72/+105
* cache.c: fopen with "b" is needed for DOS. * ieee.c: environ renamed to envi to stop an include file conflict. * opncls.c: more fopens with "b"
1991-08-19Mon Aug 19 13:48:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com)Roland Pesch1-57/+123
* 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-05-02Merge devo/bfd with GDB's bfd.John Gilmore1-15/+12
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-23*** empty log message ***Steve Chamberlain1-34/+35
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+200