This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: bug in bfd in open file cache
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Mikulas Patocka <mikulas at artax dot karlin dot mff dot cuni dot cz>
- Cc: binutils at sources dot redhat dot com, bug-binutils at gnu dot org
- Date: Fri, 15 Aug 2003 18:00:18 +0930
- Subject: Re: bug in bfd in open file cache
- References: <Pine.LNX.4.44.0308150232350.13197-100000@artax.karlin.mff.cuni.cz>
On Fri, Aug 15, 2003 at 02:59:13AM +0200, Mikulas Patocka wrote:
> bfd_cached_lookup few lines above returned NULL because it coudn't open
> file because the file was inside an archive.
Please further investigate bfd_cache_lookup. Your bfd opened against
an archive element should never match bfd_last_cache, thus
bfd_cache_lookup_worker should be called. This function should open
the archive file if it has been closed.
--
Alan Modra
IBM OzLabs - Linux Technology Centre