This is the mail archive of the
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 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.
IBM OzLabs - Linux Technology Centre