]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
2004-04-21 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 21 Apr 2004 17:05:12 +0000 (17:05 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 21 Apr 2004 17:05:12 +0000 (17:05 +0000)
commit40838a725a2186ffdc9621694e72f340928a0b13
tree188ce229fccc9465d5149968ddf2af50a1a6ebdc
parent7f919c8471b407c6a8c698ee3b29cdf0e9c4eb3d
2004-04-21  Andrew Cagney  <cagney@redhat.com>

* opncls.c (_bfd_new_bfd_contained_in): Copy "iovec".
(struct opncls, opncls_btell, opncls_bseek, opncls_bread)
(opncls_bwrite, opncls_bclose, opncls_bflush)
(opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a
bfd iovec that uses function callbacks.
(bfd_close): Use the iovec's bclose.
* cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite)
(cache_bclose, cache_bflush, cache_bstat)
(cache_iovec): New functions and global variable, implement a
cache "iovec", where applicable set bfd_error.
(bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec.
* bfdio.c (struct bfd_iovec): Define.
(real_read): Delete function.
(bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat)
(bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec",
assume that bread and bwrite set bfd_error.
* bfd.c (struct bfd): Add "iovec", update comments.
* bfd-in2.h, libbfd.h: Re-generate.
bfd/ChangeLog
bfd/bfd-in2.h
bfd/bfd.c
bfd/bfdio.c
bfd/cache.c
bfd/libbfd.h
bfd/opncls.c