aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1993-09-14 04:13:43 +0000
committerJohn Gilmore <gnu@cygnus>1993-09-14 04:13:43 +0000
commitb5b4294e653c033981eb8eee4f0473e520e0b5d5 (patch)
tree9833aac04f6a1254a24974efc45f2622bfd4cb74 /bfd/hosts
parent55fea07b5521471b905a0695f0541cf4ddc130e7 (diff)
downloadgdb-b5b4294e653c033981eb8eee4f0473e520e0b5d5.zip
gdb-b5b4294e653c033981eb8eee4f0473e520e0b5d5.tar.gz
gdb-b5b4294e653c033981eb8eee4f0473e520e0b5d5.tar.bz2
Improve timestamp support in BSD archive files to avoid linker
warnings. * libbfd.h (struct artdata): Add armap_timestamp and armap_datepos. (bfd_flush, bfd_stat): Add prototypes. * libbfd.c (bfd_flush): Add, does fflush on a BFD. (bfd_stat): Add, does fstat on a BFD. * archive.c (_bfd_write_archive_contents): At end of file writing, verify and possibly update the timestamp in the armap, if a BSD archive. FIXME! Kludge recognizes BSD archive, rather than vectoring properly. Should add to xvec. (compute_and_write_armap): Move prototype to top, avoid PROTO. (bsd_write_armap): Save timestamp and file location thereof, when writing the armap in a BSD file. (bsd_update_armap_timestamp): New function to check and rewrite the timestamp.
Diffstat (limited to 'bfd/hosts')
0 files changed, 0 insertions, 0 deletions