PATCH: Should ld cache bfd_check_format return?
Alan Modra
amodra@bigpond.net.au
Thu Apr 20 09:03:00 GMT 2006
On Wed, Apr 19, 2006 at 01:44:44PM -0700, H. J. Lu wrote:
> On Wed, Apr 19, 2006 at 07:21:24AM -0700, H. J. Lu wrote:
> > load_symbols does
> >
> > ldfile_open_file (entry);
> >
> > if (! bfd_check_format (entry->the_bfd, bfd_archive)
> > && ! bfd_check_format_matches (entry->the_bfd, bfd_object, &matching))
> >
> > ldfile_open_file also calls bfd_check_format. Should ld cache
> > bfd_check_format return?
> >
>
> This patch caches bfd_check_format return.
We already cache in bfd->format.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list