From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id 029773857001 for ; Wed, 27 Jul 2022 13:18:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 029773857001 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 8DEA96681A; Wed, 27 Jul 2022 09:18:44 -0400 (EDT) Message-ID: <1935acaa28ba0c64418e549d89baca4d4d5b77bc.camel@xry111.site> Subject: Re: [PATCH] LoongArch: document -m[no-]explicit-relocs From: Xi Ruoyao To: WANG Xuerui , Lulu Cheng , gcc-patches@gcc.gnu.org Cc: xuchenghua@loongson.cn Date: Wed, 27 Jul 2022 21:18:42 +0800 In-Reply-To: <4378ce76-7322-eb8d-fb10-41b3a59c9f7b@xen0n.name> References: <767f8ddc835151d62ce825b8fe7b2ff7b4e3d2e6.camel@xry111.site> <889472f0-7b9a-9915-ddb3-acffc466119d@loongson.cn> <5865935a56759df13855f3a9f9aff6396e79191b.camel@xry111.site> <36e9d5fa-3742-7dbb-1dbe-78345b4a0709@loongson.cn> <4378ce76-7322-eb8d-fb10-41b3a59c9f7b@xen0n.name> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.3 MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FROM_SUSPICIOUS_NTLD, LIKELY_SPAM_FROM, PDS_OTHER_BAD_TLD, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no 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 13:18:49 -0000 On Wed, 2022-07-27 at 17:57 +0800, WANG Xuerui wrote: > On 2022/7/27 17:28, Lulu Cheng wrote: > >=20 > >=20 > > =E5=9C=A8 2022/7/27 =E4=B8=8B=E5=8D=885:15, Xi Ruoyao =E5=86=99=E9=81= =93: > > > On Wed, 2022-07-27 at 16:47 +0800, Lulu Cheng wrote: > > >=20 > > > > > =C2=A0=C2=A0"Use or do not use assembler relocation operators whe= n dealing with > > > > > symbolic addresses. The alternative is to use assembler macros > > > > > instead, which may limit optimization. > > > > > =C2=A0=20 > > > > > =C2=A0=C2=A0The default value for the option is determined during= GCC build- > > > > > time by detecting corresponding assembler support: @code{-mexplic= it- > > > > > 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.= " > > > > > =C2=A0=20 > > > > 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. > > >=20 > > > If you agree I'll commit it with Xuerui as the commit author. > > >=20 > >=20 > > I have no opinion if wangxuerui agrees. > Either is OK (if you really think the commit is effectively rewritten by= =20 > me), thanks. Pushed r13-1859. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University