This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix DT_NEEDED search with --as-needed libraries (PR ld/2721)
On Sat, Jun 03, 2006 at 12:34:33PM +0930, Alan Modra wrote:
> On Sat, Jun 03, 2006 at 01:55:44AM +0930, Alan Modra wrote:
> > * emultempl/elf32.em (global_found): Make it a pointer.
> > (stat_needed, try_needed): Adjust.
> > (check_needed): Don't skip non-loaded as-needed entries. Only
> > consider entries with both filename and the_bfd non-null.
> > (after_open): Try loading non-loaded as-needed libs to satisfy
> > DT_NEEDED libs.
>
> Committed with an extra comment.
So: still want this included in 2.17? If so, please commit it there,
or let me know and I will.
Does anyone think this justifies another prerelease? I'm not planning
to; I think we're past the point of diminishing returns in terms of
finding testers.
--
Daniel Jacobowitz
CodeSourcery