This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug in bfd in open file cache


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]