From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id 403513858401 for ; Mon, 8 Nov 2021 11:37:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 403513858401 Received: by mail-ot1-x32e.google.com with SMTP id q33-20020a056830442100b0055abeab1e9aso24989086otv.7 for ; Mon, 08 Nov 2021 03:37:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=Qz8xR2g2mtd7/BcdPZscP+vnHM4UiL43OJ01wBS+l8A=; b=AqUxpTUE6vRO96Fyywv0NLxURopYAAFBxcYyXF8oZkgKkNod5QLN5g75l0/BUsY6bP NLi/dK/43WOcOtYVkZbPova2YWlLVn16sxkxlUBdufKpyJ3ShMEPkM3E43oeew5E+Nbs CzdHGL4kM6dL+Pr97Uag2Fkx0h/JzRYJXnoBkio2TTeGTd355ZWcH9bby8NCdDtmWcTL hdXL8J4k2l43OlzCD8KreeZP+mkMKOeB+T/vlyyyfwoaJytI6qY2i6nrR+J5LSriIppu bq0803GwG84vngCKLQIhKjDFwMMwsifqd8gr+azl5sFYUqbm9PTM8QX2p2eYS+6sgrpg X2KA== X-Gm-Message-State: AOAM5321xCDxY4/I0n+QkFXPa86Z6KvGOxEvuQtjJ0qB20IJ8ELqA+XU 42c5gTo6KbCae27JnFvhdVoCvQ== X-Google-Smtp-Source: ABdhPJwgIOjoHEX8TJhggMyFgrHHIcgeODBDYJZWZMkwHzqNT6gvDvyRq873VHWID93CTrpm9W1g2g== X-Received: by 2002:a9d:750c:: with SMTP id r12mr10652143otk.273.1636371434636; Mon, 08 Nov 2021 03:37:14 -0800 (PST) Received: from ?IPV6:2804:431:c7cb:55a:c067:29b:4c08:be99? ([2804:431:c7cb:55a:c067:29b:4c08:be99]) by smtp.gmail.com with ESMTPSA id s206sm5623270oia.33.2021.11.08.03.37.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Nov 2021 03:37:14 -0800 (PST) Message-ID: <44162ce5-f791-e659-c8e5-130d3f2f694c@linaro.org> Date: Mon, 8 Nov 2021 08:37:11 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: lld status with powerpc64 Content-Language: en-US To: wschmidt@linux.ibm.com, Fangrui Song , Tulio Magno Quites Machado Filho , Alan Modra , Nemanja Ivanovic Cc: libc-alpha@sourceware.org References: <20211026200346.3371750-1-adhemerval.zanella@linaro.org> <20211026203327.6b2o5k4cmkuzzm6j@google.com> <87lf2ejdnw.fsf@linux.ibm.com> <87ilxijd5f.fsf@linux.ibm.com> <20211105072312.wbqrhgyjvsypkj52@google.com> <35b483cc-fb4e-6770-bff2-aebb5f178614@linaro.org> From: Adhemerval Zanella In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2021 11:37:17 -0000 On 07/11/2021 11:24, Bill Schmidt wrote: > Please coordinate with Alan Modra and Nemanja Ivanovic on this topic.  There are ongoing discussions about bfd and lld linker support around @notoc that will be resolved soon, and Tulio is on vacation, so I don't want the community to make steps they'll have to undo later, or for people to engage in duplicate work. For this specific issue I just sent a patch to fix it on glibc side [1]. However I think it would be good if lld also implements the ld.bfd optimization to fallback to older stub generation if no pcrel relocation is found (although it is debatable that @notoc should implicit generate older ISA code depending of the resulting objects being linked against). [1] https://patchwork.sourceware.org/project/glibc/patch/20211108113316.8867-1-adhemerval.zanella@linaro.org/