[PATCH] dependency list for static libraries

Alan Modra amodra@gmail.com
Tue Nov 10 11:07:08 GMT 2020


On Tue, Nov 10, 2020 at 02:44:13AM +0000, Howard Chu wrote:
> Alan Modra wrote:
> > Thanks, I'm going to commit the above changes after running tests.
> > I'm not going to commit or OK the unrelated change to prepend the
> > libdeps record.  I think that is a bad idea, because BFD treats the
> > first object in an archive specially.  In effect, the first object
> > selects the archive target.  See archive.c:910 and following.
> 
> Ok, how about a patch to make it 2nd. Just trying to avoid having to
> search all the way to the end, for archives with a particularly large
> number of members.

That might be OK.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list