PR 973
commit820913e5856b6621bdb12cc8234de59e858f34df
authorAlan Modra <amodra@bigpond.net.au>
Thu, 27 Oct 2005 05:31:16 +0000 (27 05:31 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 27 Oct 2005 05:31:16 +0000 (27 05:31 +0000)
tree6b651c99225312c6b1a1d9c4e0cd28e68a94cfea
parent16856e7386be2f44758a81ba02f6efca68739eaa
PR 973
* cache.c (enum cache_flag): New.
(close_one): Save file mtime.
(bfd_cache_lookup): Add flag arg, adjust all users.
(bfd_cache_lookup_worker): Likewise.
(cache_btell): Use CACHE_NO_OPEN and return abfd->where if file
not open.
(cache_bflush): Similarly, and return success of file not open.
(cache_bseek): Use CACHE_NO_SEEK if SEEK_SET or SEEK_END.
(cache_bstat): Use CACHE_NO_SEEK_ERROR.
bfd/ChangeLog
bfd/cache.c