From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by sourceware.org (Postfix) with ESMTPS id AC9EC3857C68 for ; Wed, 9 Sep 2020 14:11:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AC9EC3857C68 Received: by mail-pj1-x1031.google.com with SMTP id t7so1392900pjd.3 for ; Wed, 09 Sep 2020 07:11:00 -0700 (PDT) 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=uy9ElUj/eRojAw73QT6UEtJqNODFst9qDE0VY39695M=; b=hhuAFtyIxVRIVRiDRjbj5CaKlrYYWsYxX71x411fgTuiT3Nn5D5Cf4VhTGdANpXMeA MME78JCmlFQRsoaJAA4BE0isPignDh/m1MWUMAwy08TwjtuTsZNgYfI4F6OyV0RGOs+r Y2uZs3KarTyPStNroFdjR84mFUiBPvVKCZ2CnziMA1zA1zPYrxYgaUHi4818MTSSyrN3 P1cmOlf2nC8SjmLbSJFUwAYrYZlyrND+el5n1Xrt3Id/RioemqyTPFK72op0B7PyMtei YQDGmG3BnFeRazu4Q3Z9w5GDJnKAbAdbfGM+/IZY/J7Vjdk85NZMa04GiBBEsM70fg8E FHNg== X-Gm-Message-State: AOAM533yIZ6/QjiLDFbJzxr9dRqCyvr9oFdWQGM7/LcYGJiEhzSVFDSe MDAF2uxIUPVkDUTW5NygBnQ= X-Google-Smtp-Source: ABdhPJxDaoX8tQqG4f48qDE0xu7UBNxmfvtepnB/qTIvHwPIeCKohDPre8TEsSTe47B6xX7UX8d6Yw== X-Received: by 2002:a17:90a:4043:: with SMTP id k3mr981957pjg.141.1599660659933; Wed, 09 Sep 2020 07:10:59 -0700 (PDT) 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 y4sm2902133pfq.215.2020.09.09.07.10.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 07:10:59 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id ED15786AE7; Wed, 9 Sep 2020 23:40:55 +0930 (ACST) Date: Wed, 9 Sep 2020 23:40:55 +0930 From: Alan Modra To: "H.J. Lu" Cc: Binutils Subject: Re: lto-18 test Message-ID: <20200909141055.GH15695@bubble.grove.modra.org> References: <20200909030622.GB15695@bubble.grove.modra.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-7.4 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: Wed, 09 Sep 2020 14:11:01 -0000 On Wed, Sep 09, 2020 at 06:50:17AM -0700, H.J. Lu wrote: > On Wed, Sep 9, 2020 at 6:41 AM H.J. Lu wrote: > > > > On Tue, Sep 8, 2020 at 8:08 PM Alan Modra via Binutils > > wrote: > > > > > > Demonstrates a reason to use IR symbols when deciding an --as-needed > > > library should be loaded. > > I believe that liblto-18c.so should have liblto-18b.so in DT_NEEDED. Testcases are often not very nice. Neglecting DT_NEEDED doesn't make the testcase invalid. (And liblto-18b.so should have liblto-18c.so in DT_NEEDED.) -- Alan Modra Australia Development Lab, IBM