Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3247327rwe; Mon, 29 Aug 2022 08:13:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR7U0XT2U9nCqC+hxmjA+44MFYmApGO7ZAAOEIGUoEMlbu2WIFiQhERWPhvxdk4l9z7faoh7 X-Received: by 2002:a05:6a00:ac4:b0:535:c08:2da7 with SMTP id c4-20020a056a000ac400b005350c082da7mr17211400pfl.69.1661786016613; Mon, 29 Aug 2022 08:13:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661786016; cv=none; d=google.com; s=arc-20160816; b=ca1MwhHPUslDLed7rRPfmRTXFC9t9h9Relu1QAzaRBCyeENILx+jwy52ejTO/jU426 rkRsh6hrcgPx4QRJtSJExwVINnG8uHwyrTESzuWBbM0BlQlOGR+Q0cPGSQRqpjifULEE Hk2rC9/xFFqqJix0ZaBBBzGGbrJt0p0MEmeGbwnVfLrBagrDKv8j1RcTg/rYosST5Di1 wnSDa9UjB/cmZZoklqM2mi9ZNXqXcVG6lTE6y4mr3xJ4HIRMqIIw+iwkEADSr/+9rZT1 +eKQFHcmylXVoxRuB0dBU7n7Cl7VChJEmDe49PBOyINy4o+zurHa8Q/GX49MMyqljaur u4nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=ABmTO9KwdpcoA1TtXvJlEjXSZv6SnPCmITt1SmlzwMY=; b=WxsLEkEs42mhNkpXRpc7tdA4PVeLs0O2BwWXxPKv7hyZ7X/fhhUQ92vXq2pkUTj5x4 FI0ZaOuH2iawYedaihHlwu/WAdDB+O/lJyefYXJlaCmBwVBF721aMkQxlGPwDawOImI1 7yF60Thd9nRZ4nfmTRfA0kwnhx3ntC8eUdqV0LKG/al0uG926QpCBbvNkAb+FYWYE3my sEgneUt5ApyoTTr0Uh423psbN3qNeeIDk+DN6ZjW+IfnfPqe+qcElXOLpg3oyYhVHhFM 5UxCJo5yPKsSZgeI/ufqPFksjvASBTcr058r5DgqJs7rQ9w5nbPogAqMP0YaQYmojcQP MwWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=P4JCSkXE; 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=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s198-20020a632ccf000000b0041c506dde92si9653501pgs.636.2022.08.29.08.13.25; Mon, 29 Aug 2022 08:13:36 -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=@xry111.site header.s=default header.b=P4JCSkXE; 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=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229679AbiH2O5M (ORCPT + 99 others); Mon, 29 Aug 2022 10:57:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbiH2O5K (ORCPT ); Mon, 29 Aug 2022 10:57:10 -0400 Received: from xry111.site (xry111.site [89.208.246.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58F9C83F21 for ; Mon, 29 Aug 2022 07:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1661785027; bh=ABmTO9KwdpcoA1TtXvJlEjXSZv6SnPCmITt1SmlzwMY=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=P4JCSkXEBTwbM8BM6ABEIjpk0LmaFLhRYoK5ROoxwlCcgbDYDrFx9FlpIdAogPzUS rXeWYNP8um+HlUb4ENe+wMmybYRRdqeOiv2pypgpKu9ueV1OFIMXHs81ZQFk5UQOQp jwa6YPaA3FjUXwt81jiCc73p3YSeX5Ar/b7mW4q0= Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 3F039667A7; Mon, 29 Aug 2022 10:57:06 -0400 (EDT) Message-ID: Subject: Re: [PATCH v6 0/6] LoongArch: Support toolchain with new relocation types From: Xi Ruoyao To: loongarch@lists.linux.dev Cc: linux-kernel@vger.kernel.org, WANG Xuerui , Huacai Chen , Youling Tang , Jinyang He Date: Mon, 29 Aug 2022 22:57:04 +0800 In-Reply-To: <20220829133146.15236-1-xry111@xry111.site> References: <20220829133146.15236-1-xry111@xry111.site> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.45.2 MIME-Version: 1.0 X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, PDS_OTHER_BAD_TLD,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Mon, 2022-08-29 at 21:31 +0800, Xi Ruoyao wrote: > Changes from v5 to v6: >=20 > - Restore version number. > - Rename CONFIG_CC_HAS_EXPLICIT_RELOCS to > CONFIG_AS_HAS_EXPLICIT_RELOCS. > =C2=A0 It now only checks assembler. > - No longer support "old GCC with new Binutils", so R_LARCH_ABS* is > =C2=A0 dropped. > =C2=A0 - "Old GCC with old Binutils" is still supported until Arnd ack. > =C2=A0=C2=A0=C2=A0 longer support it. ^^^^ This line should be removed :(. > =C2=A0 - "New GCC with old Binutils" is still supported as it does not > =C2=A0=C2=A0=C2=A0 require additional code. > - Remove "cc-option" around "-mexplicit-relocs".=C2=A0 For unsupported > =C2=A0 "old GCC with new Binutils" combination, forcing -mexplicit-relocs > =C2=A0 makes assembling fail, instead of silently producing unloadable > =C2=A0 modules. > - Move the error report for "lacking model attribute" into Makefile. > - Squash the two patches for R_LARCH_B26 and R_LARCH_PCALA* into one. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University