[PATCH] dependency list for static libraries

Howard Chu hyc@symas.com
Tue Nov 10 02:44:13 GMT 2020


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.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/


More information about the Binutils mailing list