Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp121404rwe; Tue, 30 Aug 2022 22:51:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR73wS6mT0fBzvY5KbVhJknm60a3xQZUWvU3icRK1k8TStAb3CpYnXmybWpUYzDI9XBrFcZX X-Received: by 2002:a05:6402:3589:b0:448:75bb:5c5d with SMTP id y9-20020a056402358900b0044875bb5c5dmr10405877edc.356.1661925112620; Tue, 30 Aug 2022 22:51:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661925112; cv=none; d=google.com; s=arc-20160816; b=uPDbGyyEjTysvGVty/fX5De3Ao51unA0n7e147DIR/8UHOTR7JoaAlMOYi/IRWDk+J X8B/b+sxa0R462AuWxMedcK+BPD5LzqyISMmZ59f8M/DxNvTm+9zD2p0RHwmH4WDDiAA JTjshzbLL+nAXKjMGYqorEB/TZE5q/jHYYiw39TtseH/5I1pF1iZ0LU3O3HmMYv+Av59 nYkQPbWWnFo+oSdYv+CISgCrT8Oq9xZL6S/F44QQvTI68rKqGEbEZVb+F5e9DuA2vF/e um6KJf8zRX2u/vuujZFaP/PxhcJe+r2iCK4a2tlj2g5eO5/OTyS8beAd+anncGVyjx7p CKjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=F1LUeW/XvUjUGOcgGq1u+tBEKhfjBd02g1SWAug/mms=; b=oWNXkjuCn5xR4B9koGRwvcBATjuAy7rO8shgrRCUmJXFxLOyaf5UlTSAPnrbnBlTYa 1Bpm2K+fT3K9gT37nw6hy9d2kCNDjf1zmlIvXoKf55f4KwRasF5FIRdJ7SnSwjA+dDJf p5qvRynziGRm0awvHF22wHZNWPspAInDcb75+lqcQC3DEEmJGW2uJ3G9R+J8U5gHD8eg pfPPdHmbHDFDkAAe8tF2gFm4QGIxBI/PM51SF/KiEqk92x2X9ykkMy8ec+HnOUHA9yE0 iF2tBHLen9q+cObMn+8HvjtD9Wl04M6zJkKP5d3/NjeNhBlVh9E7g4e19QMRg/wmwYZb t/wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AId5APbp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x88-20020a50bae1000000b0043c1908e995si9835923ede.113.2022.08.30.22.51.27; Tue, 30 Aug 2022 22:51:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AId5APbp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229740AbiHaFpB (ORCPT + 99 others); Wed, 31 Aug 2022 01:45:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229822AbiHaFo5 (ORCPT ); Wed, 31 Aug 2022 01:44:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2CED5F9C for ; Tue, 30 Aug 2022 22:44:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3F130615F4 for ; Wed, 31 Aug 2022 05:44:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0688C433C1 for ; Wed, 31 Aug 2022 05:44:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661924694; bh=X4PxFntXm9Nca5RV5Kx6R9cYdqAMo4VWRPIFXi/6A9U=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=AId5APbpWjvsqGbHljWBuKPy3aCwhBvRXYYxxVwOmh7JNTGGPVXpAnGAhGjBhcgBE OZcwa/vTp1opRyIsHkLgf+9FCFc3yhXXV9m1pqypG9Hyo3cJWGGzMcPWvvuTqGmoi/ AU6HcvfEH0OQR3XiddD+vpd1Wf0rWFYn1nki1GGHaagxoRgWC9lj6+ajWannPohsrf mIEvNpwVjTm23XL9cnvEUeG1Ra7knOt4R6XarUHBrv/LPIEQC/q/Z8RqFvT6vBJ8gK eeuqW/QuIztJh6WaAlUBogvf8lTYRMg87TWSr3dlrqHx9Et11v16aehQlwGrQjZQ9n x40V9mDJzic7A== Received: by mail-ua1-f45.google.com with SMTP id x15so4686703uat.2 for ; Tue, 30 Aug 2022 22:44:54 -0700 (PDT) X-Gm-Message-State: ACgBeo2biB5o9IdN1TsQIBev5Ht5YqwyoGYc2Os1YAlppUHo4fxR43ef nYAdImsUl8yum9w7zNTFMYsGMlwF9pGortXcGJQ= X-Received: by 2002:ab0:2095:0:b0:39f:881e:51b6 with SMTP id r21-20020ab02095000000b0039f881e51b6mr4786047uak.23.1661924693646; Tue, 30 Aug 2022 22:44:53 -0700 (PDT) MIME-Version: 1.0 References: <20220830104806.128365-1-xry111@xry111.site> In-Reply-To: From: Huacai Chen Date: Wed, 31 Aug 2022 13:44:42 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 0/5] LoongArch: Support toolchain with new relocation types To: WANG Xuerui Cc: Xi Ruoyao , loongarch@lists.linux.dev, LKML , Youling Tang , Jinyang He Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Ruoyao and Xuerui, On Wed, Aug 31, 2022 at 12:38 AM WANG Xuerui wrote: > > On 8/30/22 21:05, Huacai Chen wrote: > > Hi, Ruoyao, > > > > Thank you for your contribution, this whole series will be queued for > > 6.1. Though lkp reported some warnings, I will fix them myself. > > And of course add my Tested-by: > > Tested-by: WANG Xuerui > > (I've run the v6 actually, but there is not substantial change from v6 > to v7 so the status should stay good.) With this series applied and ARCH_WANT_LD_ORPHAN_WARN enabled, we get loongarch64-unknown-linux-gnu-ld: warning: orphan section `.got' from `arch/loongarch/kernel/head.o' being placed in section `.got' loongarch64-unknown-linux-gnu-ld: warning: orphan section `.got.plt' from `arch/loongarch/kernel/head.o' being placed in section `.got.plt' I think we should add this lines in vmlinux.lds.S .got : { *(.got) } .got.plt : { *(.got.plt) } But put them to which patch? Patch 2 or Patch 5? Huacai > > -- > WANG "xen0n" Xuerui > > Linux/LoongArch mailing list: https://lore.kernel.org/loongarch/ >