PR 973
authorAlan Modra <amodra@gmail.com>
Thu, 27 Oct 2005 05:31:16 +0000 (05:31 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 27 Oct 2005 05:31:16 +0000 (05:31 +0000)
commit95560129db4891eb3341c02aedb2087e99176a76
treece5177c15a506533e892e3bc63a43a7162c27dc3
parent182a009999e52ae9e397fa0a628b52027b232e3d
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