PATH: Restore file cache for bfd_openr

Alan Modra amodra@bigpond.net.au
Thu Jun 9 04:26:00 GMT 2005
On Wed, Jun 08, 2005 at 03:43:21PM -0700, Mark Mitchell wrote:
> 	* opncls.c (bfd_openr): Call bfd_set_cacheable on returned BFDs. 

I think it makes sense to do this in bfd_fopen instead, if fd != -1.
ie. Make your new bfd_fopen function default to the auto-close/open
behaviour.  Thoughts?

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list