From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zmcc-2-mx.zmailcloud.com (zmcc-2-mx.zmailcloud.com [52.37.197.7]) by sourceware.org (Postfix) with ESMTPS id 308F7386181F for ; Tue, 10 Nov 2020 02:44:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 308F7386181F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=symas.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=hyc@symas.com Received: from zmcc-2.zmailcloud.com (zmcc-2-mta-1.zmailcloud.com [146.148.52.56]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zmcc-2-mx.zmailcloud.com (Postfix) with ESMTPS id 5CD2C4054F; Mon, 9 Nov 2020 20:44:17 -0600 (CST) Received: from zmcc-2.zmailcloud.com (localhost [127.0.0.1]) by zmcc-2-mta-1.zmailcloud.com (Postfix) with ESMTPS id DC932CEC30; Mon, 9 Nov 2020 20:44:16 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by zmcc-2-mta-1.zmailcloud.com (Postfix) with ESMTP id C47A2CEBF2; Mon, 9 Nov 2020 20:44:16 -0600 (CST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmcc-2-mta-1.zmailcloud.com C47A2CEBF2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=symas.com; s=37C7994C-28CA-11EA-A30F-68F90BB9D764; t=1604976256; bh=rGe+fqkVhIPR2e+0yvDJzzvWMAsbj4F9UzLcWfez/sI=; h=To:From:Message-ID:Date:MIME-Version; b=pl99ajXx5mLZYfpywo1KW/x2LAJno65WX6BpsSGzdNvudPGNjTBQ4ytVJmL8USy9/ ZCxGQ4mw0qKtWbwl9N7koOTJsH6u301gzY85uYJFo5z7P9PswkElVKR18WTyoIcFHl KQtgOJDQ+PD8HEoj+HHNgDxLW52mu405udzphGndORqZJe4sQvhaZEp8XWuDtY4urd ZwmPJPL8s4nO3MNBNwuNk4bM/F0rWym2RZyhcW/NRaTx+zKYU49tDyZZdyoBUWr3qA DgHeftPPeavDZQqk8WBOFEfT2N8y1XL6g1Ngc7HtuF8+DZP8IIWWhITYw2Ip1huM27 BeBRj3OgktsKA== Received: from zmcc-2.zmailcloud.com ([127.0.0.1]) by localhost (zmcc-2-mta-1.zmailcloud.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id NdavhrpDCKgJ; Mon, 9 Nov 2020 20:44:16 -0600 (CST) Received: from [192.168.1.155] (unknown [84.203.30.144]) by zmcc-2-mta-1.zmailcloud.com (Postfix) with ESMTPSA id F0B94CEAAA; Mon, 9 Nov 2020 20:44:15 -0600 (CST) Subject: Re: [PATCH] dependency list for static libraries To: Alan Modra Cc: binutils@sourceware.org References: <31f9062e-175d-06e9-695a-797c7ee11420@symas.com> <58620dc1-3bb9-aaae-b476-ebb613ecb627@redhat.com> <1aaf4429-074c-7912-e6e6-4d2f82d6ef10@redhat.com> <6d270cf5-4011-d916-3e5f-140bc506f807@symas.com> <20201108013911.GB15956@bubble.grove.modra.org> <63667fcd-8b9c-d416-3240-9712eeee4658@symas.com> <20201109000146.GC15956@bubble.grove.modra.org> From: Howard Chu Message-ID: <763d46e7-9912-81af-3d1a-a82b82ddfb54@symas.com> Date: Tue, 10 Nov 2020 02:44:13 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.3 MIME-Version: 1.0 In-Reply-To: <20201109000146.GC15956@bubble.grove.modra.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP, URIBL_RED autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2020 02:44:19 -0000 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/