aboutsummaryrefslogtreecommitdiff
path: root/bfd/cache.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-01-10 11:51:09 +0000
committerTristan Gingold <gingold@adacore.com>2012-01-10 11:51:09 +0000
commit660722b0e2ddd2d0efcc01f7f9f9e4a3dd31326e (patch)
tree50ea9f03b1e26a2b2282cb5bc0ed804752b8caa0 /bfd/cache.c
parent158184ac9e4ab97b97c6a9bb840db46661901585 (diff)
downloadbinutils-660722b0e2ddd2d0efcc01f7f9f9e4a3dd31326e.zip
binutils-660722b0e2ddd2d0efcc01f7f9f9e4a3dd31326e.tar.gz
binutils-660722b0e2ddd2d0efcc01f7f9f9e4a3dd31326e.tar.bz2
2012-01-10 Tristan Gingold <gingold@adacore.com>
* bfdio.c (bfd_tell): Handle nested archives. (bfd_seek): Ditto. * cache.c (bfd_cache_lookup_worker): Ditto. * archive.c (_bfd_get_elt_at_filepos): Remove code dealing with nested archives. (bfd_generic_openr_next_archived_file): Likewise.
Diffstat (limited to 'bfd/cache.c')
-rw-r--r--bfd/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/cache.c b/bfd/cache.c
index 5ddbbe4..3842f51 100644
--- a/bfd/cache.c
+++ b/bfd/cache.c
@@ -198,7 +198,7 @@ bfd_cache_lookup_worker (bfd *abfd, enum cache_flag flag)
if ((abfd->flags & BFD_IN_MEMORY) != 0)
abort ();
- if (abfd->my_archive)
+ while (abfd->my_archive)
abfd = abfd->my_archive;
if (abfd->iostream != NULL)