From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by sourceware.org (Postfix) with ESMTP id 2B8633858CDA for ; Mon, 25 Sep 2023 08:26:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2B8633858CDA Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=loongson.cn Received: from loongson.cn (unknown [10.20.4.107]) by gateway (Coremail) with SMTP id _____8DxFegiRBFllCIsAA--.25712S3; Mon, 25 Sep 2023 16:26:10 +0800 (CST) Received: from [10.20.4.107] (unknown [10.20.4.107]) by localhost.localdomain (Coremail) with SMTP id AQAAf8AxndwhRBFlU0kRAA--.35081S3; Mon, 25 Sep 2023 16:26:09 +0800 (CST) Subject: Re: [PATCH] LoongArch: doc: Update -m[no-]explicit-relocs for r14-4160 To: Xi Ruoyao , gcc-patches@gcc.gnu.org Cc: i@xen0n.name, xuchenghua@loongson.cn References: <20230925081312.23061-2-xry111@xry111.site> From: chenglulu Message-ID: <33a96b18-3108-48a8-2b55-206a9c469144@loongson.cn> Date: Mon, 25 Sep 2023 16:26:09 +0800 User-Agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20230925081312.23061-2-xry111@xry111.site> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-CM-TRANSID:AQAAf8AxndwhRBFlU0kRAA--.35081S3 X-CM-SenderInfo: xfkh0wpoxo3qxorr0wxvrqhubq/ X-Coremail-Antispam: 1Uk129KBj93XoW7ZrW8Gr43Kr1xCF1rGF48GrX_yoW8XFW7pa y7G3yqqF1Iyr9a9340yan3Wr15Wa9agr43WayFqr4rArs8Ka4SyF4fKa1Yy34xZ3W3K34x ZFn8ta4xC3Z8AagCm3ZEXasCq-sJn29KB7ZKA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ASS,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 List-Id: LGTM! Thank you for your modification! ÔÚ 2023/9/25 ÏÂÎç4:13, Xi Ruoyao дµÀ: > gcc/ChangeLog: > > * doc/invoke.texi: Update -m[no-]explicit-relocs for r14-4160. > --- > > I've not regtested this as it's only a doc change. Ok for trunk? > > gcc/doc/invoke.texi | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi > index ba7984bcb7e..146b40414b0 100644 > --- a/gcc/doc/invoke.texi > +++ b/gcc/doc/invoke.texi > @@ -26159,10 +26159,12 @@ The default code model is @code{normal}. > @itemx -mno-explicit-relocs > 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 > +limit instruction scheduling but allow linker relaxation. The default > +value for the option is determined during GCC build-time by detecting > +corresponding assembler support: > +@code{-mno-explicit-relocs} if the assembler supports relaxation or it > +does not support relocation operators at all, > +@code{-mexplicit-relocs} otherwise. This option is mostly useful for > debugging, or interoperation with assemblers different from the build-time > one. >