From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by sourceware.org (Postfix) with ESMTPS id 247EB3983051 for ; Tue, 10 Nov 2020 11:07:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 247EB3983051 Received: by mail-pg1-x542.google.com with SMTP id f38so9861910pgm.2 for ; Tue, 10 Nov 2020 03:07:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=BGTcxpsS3xs69uivQ0+rRKi7RIuE8Q+INqfs8ThDc6E=; b=q2sryll/hGdce2l20tenu4coal1so6YpfPtOsH38NSiK6T3PdvZDlm2sUXAYzxTX95 oip8DtMoDu0R4LfnbKEAPs20/KiGIzqC4HhuyLaRJBghXckN97nB/Cp8CL/q2EfxJu6i BynhPGpZ7YpfjjTlFVr37VvFbTfcSxuzX2q/8zmS+j33kDcDgl8nHa73FY/u7kDmgAQC LX4XXSXRK1b1g4Kjbb5lPY6cIWfO+/6fzZ+pcbSbW31Kg/zWmwY6IEIJ2MfNqtsJeklY nLwuvqMLeJmTWGEoyehX+MQKwqawD3uTS5ik5BeQZivF304A9yBb+AkD/ZUSY/gC6t8P q99g== X-Gm-Message-State: AOAM531w38v3INfAhDxvQq98wNeLOSJ2p5LVI+GH7QxSutHE5UNeMmW5 I1gqnMv6LJOPjjNQApmpaCpKmkb1tWnDNA== X-Google-Smtp-Source: ABdhPJzvWoYr9AcMNTYMr+ShrRvXOFctImqS4QEEfSId1UfYSegVunh5wRf+nBfqgkcrtBSKpuB1uA== X-Received: by 2002:a17:90a:9f82:: with SMTP id o2mr4524371pjp.52.1605006433452; Tue, 10 Nov 2020 03:07:13 -0800 (PST) Received: from bubble.grove.modra.org (158.106.96.58.static.exetel.com.au. [58.96.106.158]) by smtp.gmail.com with ESMTPSA id w70sm12147353pfc.11.2020.11.10.03.07.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 03:07:12 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id A98A986974; Tue, 10 Nov 2020 21:37:08 +1030 (ACDT) Date: Tue, 10 Nov 2020 21:37:08 +1030 From: Alan Modra To: Howard Chu Cc: binutils@sourceware.org Subject: Re: [PATCH] dependency list for static libraries Message-ID: <20201110110708.GG15956@bubble.grove.modra.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> <763d46e7-9912-81af-3d1a-a82b82ddfb54@symas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <763d46e7-9912-81af-3d1a-a82b82ddfb54@symas.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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 11:07:16 -0000 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