Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3248380rwe; Mon, 29 Aug 2022 08:14:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR5b1RK2vYTj4aeX51QbTHYE4ttmxaXW/vqvmxdUfAvWMGqXQSKttRVLl6JX+6VXgEY5+FAg X-Received: by 2002:a17:90b:3d92:b0:1fb:f08:27af with SMTP id pq18-20020a17090b3d9200b001fb0f0827afmr18987222pjb.184.1661786066849; Mon, 29 Aug 2022 08:14:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661786066; cv=none; d=google.com; s=arc-20160816; b=xhso4dSQoE7k0V6mBJYXs9KFFqxOFPn5Rs6McoKUz21Wmr5YIZ0bbfjSD0xicM7ZqV chGWl4ycnRCRNmtYeJo9k5X3M35YwPRBM2v3ZZuDti5qiktkWxdmQ0dZWzD12k7T1icG 8gU+5vqEy3KrUVFjVEq/duuqL6KNFgLbRE4Q66Q5+c8qg63LZAUNuauO+FxnE/UPe8ll PgQMrwUY8so/4Odfm4jTPgZtyfBnE2crInLVAMaLpST0eRYU880H9kFEBwDNRWGd35t9 e89xuI7G1Sfj92W+My699wTG9aKPqDRq1x3+7biso3bh58/17EbIiL8qdluUJHzQ4D1Z CgGQ== 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=PsUUkj/XaVk4K/1T0bkgVMflhKnRYOzo57i1LN6p9gw=; b=Cghz/v0Lsnl7wWjlpo+kveXdlt29hfYwMjmtj7jDp63/wPs2+c72UBRpKlGyB8LHIP hwdhRTHyBqd6Nb1tXrMSI1WkG2NaNb1rKwPfPyZ7FkReS2u0rnufbRdwfBgpYUjio8iQ lCVNxYFheelcmSGA0RlD4xxkjhlbQ8YRtlolBBCDIdH8daeLx7aqzK6gJi42bKsFqqNS y7qJTXiX/EyfMji9+mzTiGGNDRxmYYOT/OYEvPZ3tllmDz+HKPuHwNHwKJcwR+iGycJA QGT7jx+ymfKGrVdu0AxKac/J242dNJnuH6ZwaCHst0K1zf0wdEnee0bSV4AI9IfEvmMs bQOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qwTedLpc; 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 ng8-20020a17090b1a8800b001fb62b2c5d6si11060617pjb.140.2022.08.29.08.14.15; Mon, 29 Aug 2022 08:14:26 -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=qwTedLpc; 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 S229587AbiH2PCb (ORCPT + 99 others); Mon, 29 Aug 2022 11:02:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbiH2PC3 (ORCPT ); Mon, 29 Aug 2022 11:02:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B65634D823 for ; Mon, 29 Aug 2022 08:02:28 -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 ams.source.kernel.org (Postfix) with ESMTPS id 7C5ACB810E0 for ; Mon, 29 Aug 2022 15:02:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33987C43470 for ; Mon, 29 Aug 2022 15:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661785346; bh=kJG/7aTj0oZ7inQXeN+vvAWhGoNLtuV0VgGx9YK/F1Q=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qwTedLpcbtX68HpODlOI9Th47SBtQnTT70x/e372jq+zQR9P9AnHKmR18dALyIy+2 ZuJ7R4LKB+Pgz1hyzS38KjpPlxG2ZWYXvNC49g4D8Nr2puPL03FQtaPBD4LQ36J4oq 5zRFN/ns5fYnBJW0+r28LRqVtUA3lSwqPx74wYIyyTJVo1Z26dho7lM1W+tyrTdpbz 5RMrfB4dm4rdfjk3OjV89miz/00JAoMQUySC4sgRv6MnsrUNPxnEY1YdOcGqKP6lMh a68ihoSITk5UOam5YOTvCOkegpyX9In+DZ3p+SglF1dkUVvPoiTG9DJyi/YEqMj19J GV5/tBu7zSnyg== Received: by mail-vs1-f47.google.com with SMTP id n125so8593861vsc.5 for ; Mon, 29 Aug 2022 08:02:26 -0700 (PDT) X-Gm-Message-State: ACgBeo3nXHrekg7BxkIqyDw3NHZJS6geDwrPMkR6q2rYXxeKSJf1TmnG 5Up4BgbKYDBbpi7Emj2r9FyD2uFG8JqZfjHzlSQ= X-Received: by 2002:a67:d582:0:b0:390:d6dd:5612 with SMTP id m2-20020a67d582000000b00390d6dd5612mr2189677vsj.78.1661785345136; Mon, 29 Aug 2022 08:02:25 -0700 (PDT) MIME-Version: 1.0 References: <20220829133146.15236-1-xry111@xry111.site> In-Reply-To: From: Huacai Chen Date: Mon, 29 Aug 2022 23:02:11 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 0/6] LoongArch: Support toolchain with new relocation types To: Xi Ruoyao Cc: loongarch@lists.linux.dev, LKML , WANG Xuerui , 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, This version looks good to me, only some small issues. Thank you very much. Huacai On Mon, Aug 29, 2022 at 10:57 PM Xi Ruoyao wrote: > > On Mon, 2022-08-29 at 21:31 +0800, Xi Ruoyao wrote: > > > Changes from v5 to v6: > > > > - Restore version number. > > - Rename CONFIG_CC_HAS_EXPLICIT_RELOCS to > > CONFIG_AS_HAS_EXPLICIT_RELOCS. > > It now only checks assembler. > > - No longer support "old GCC with new Binutils", so R_LARCH_ABS* is > > dropped. > > - "Old GCC with old Binutils" is still supported until Arnd ack. > > > longer support it. > ^^^^ > This line should be removed :(. > > > - "New GCC with old Binutils" is still supported as it does not > > require additional code. > > - Remove "cc-option" around "-mexplicit-relocs". For unsupported > > "old GCC with new Binutils" combination, forcing -mexplicit-relocs > > makes assembling fail, instead of silently producing unloadable > > 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. > > -- > Xi Ruoyao > School of Aerospace Science and Technology, Xidian University