summaryrefslogtreecommitdiffstats
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)
downloadppe42-binutils-660722b0e2ddd2d0efcc01f7f9f9e4a3dd31326e.tar.gz
ppe42-binutils-660722b0e2ddd2d0efcc01f7f9f9e4a3dd31326e.zip
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 5ddbbe470a..3842f517d1 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)
OpenPOWER on IntegriCloud