From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by sourceware.org (Postfix) with ESMTPS id 7ECC53857005 for ; Wed, 27 Jul 2022 09:57:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7ECC53857005 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=xen0n.name Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xen0n.name DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1658915847; bh=EHZT3Qjvn6IwpzszoeOKJujayUzb72IKkq6oNmakHf8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ZgXhcdjuTUut1ZpKCqh/ZPnen5/I1VO799GPs5nL9msp1V9rgWdoCcGHlBEirVEXj UAzcbrdzZsSRB6QgzmOzVoW2vbTA/cVIB2ZqC/WSFrSoUjNy1po7rfDoDo0d44dlhL UU4pWInSW99T80ArVQcbaDKWH9n5DGnAE3/SqMBY= Received: from [100.100.57.219] (unknown [220.248.53.61]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id 2DA4D60610; Wed, 27 Jul 2022 17:57:27 +0800 (CST) Message-ID: <4378ce76-7322-eb8d-fb10-41b3a59c9f7b@xen0n.name> Date: Wed, 27 Jul 2022 17:57:26 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Thunderbird/105.0a1 Subject: Re: [PATCH] LoongArch: document -m[no-]explicit-relocs Content-Language: en-US To: Lulu Cheng , Xi Ruoyao , gcc-patches@gcc.gnu.org Cc: xuchenghua@loongson.cn References: <767f8ddc835151d62ce825b8fe7b2ff7b4e3d2e6.camel@xry111.site> <889472f0-7b9a-9915-ddb3-acffc466119d@loongson.cn> <5865935a56759df13855f3a9f9aff6396e79191b.camel@xry111.site> <36e9d5fa-3742-7dbb-1dbe-78345b4a0709@loongson.cn> From: WANG Xuerui In-Reply-To: <36e9d5fa-3742-7dbb-1dbe-78345b4a0709@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2022 09:57:40 -0000 On 2022/7/27 17:28, Lulu Cheng wrote: > > > 在 2022/7/27 下午5:15, Xi Ruoyao 写道: >> On Wed, 2022-07-27 at 16:47 +0800, Lulu Cheng wrote: >> >>>>  "Use or do not use assembler relocation operators when dealing with >>>> symbolic addresses. The alternative is to use assembler macros >>>> instead, which may limit optimization. >>>> >>>>  The default value for the option is determined during GCC build- >>>> time by detecting corresponding assembler support: @code{-mexplicit- >>>> relocs} if said support is present, @code{-mno-explicit-relocs} >>>> otherwise. This option is mostly useful for debugging, or >>>> interoperation with assemblers different from the build-time one." >>>> >>> I agree with wangxuerui's idea. >>> The same parameter and the same description information can reduce the >>> user's time to learn how to use this parameter. >> I agree it's better than my origin paragraph. >> >> If you agree I'll commit it with Xuerui as the commit author. >> > > I have no opinion if wangxuerui agrees. Either is OK (if you really think the commit is effectively rewritten by me), thanks.