From 820fa842eb511073bd54fb735d185296a0b15a0b Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 10 Jan 2012 11:51:08 +0000 Subject: 2012-01-10 Tristan Gingold * 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. --- bfd/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/cache.c') 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) -- cgit v1.2.1