From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [IPv6:2001:470:683e::1]) by sourceware.org (Postfix) with ESMTPS id F144B3858CDA for ; Mon, 25 Sep 2023 08:29:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F144B3858CDA Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1695630578; bh=AnUWVkQWUkanf+Ntf0cFk8bNT3J1fRE8cuFChcAD+KU=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=AnGKUZf7uyf/ArtEDSxmu184325kaHmTDFl6mdFeLx50yoniI2D9Vgi2kE/cYvSfA fIU0NRyAW5SC2F5IT2xW5JhizeR7DJCUwKqbxqpWKq5I/5jAOqmvAFV5N8WqI8wDVn HhwB2lvv/dooGdnpwddH0wB2zpJ3733bGndBC4b4= Received: from [127.0.0.1] (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 326A1659C0; Mon, 25 Sep 2023 04:29:37 -0400 (EDT) Message-ID: <44398f09dd45df8058ec8ace3ac8c4532b86635f.camel@xry111.site> Subject: Re: [PATCH] LoongArch: doc: Update -m[no-]explicit-relocs for r14-4160 From: Xi Ruoyao To: chenglulu , gcc-patches@gcc.gnu.org Cc: i@xen0n.name, xuchenghua@loongson.cn Date: Mon, 25 Sep 2023 16:29:35 +0800 In-Reply-To: <33a96b18-3108-48a8-2b55-206a9c469144@loongson.cn> References: <20230925081312.23061-2-xry111@xry111.site> <33a96b18-3108-48a8-2b55-206a9c469144@loongson.cn> Autocrypt: addr=xry111@xry111.site; prefer-encrypt=mutual; keydata=mDMEYnkdPhYJKwYBBAHaRw8BAQdAsY+HvJs3EVKpwIu2gN89cQT/pnrbQtlvd6Yfq7egugi0HlhpIFJ1b3lhbyA8eHJ5MTExQHhyeTExMS5zaXRlPoiTBBMWCgA7FiEEkdD1djAfkk197dzorKrSDhnnEOMFAmJ5HT4CGwMFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQrKrSDhnnEOPHFgD8D9vUToTd1MF5bng9uPJq5y3DfpcxDp+LD3joA3U2TmwA/jZtN9xLH7CGDHeClKZK/ZYELotWfJsqRcthOIGjsdAPuDgEYnkdPhIKKwYBBAGXVQEFAQEHQG+HnNiPZseiBkzYBHwq/nN638o0NPwgYwH70wlKMZhRAwEIB4h4BBgWCgAgFiEEkdD1djAfkk197dzorKrSDhnnEOMFAmJ5HT4CGwwACgkQrKrSDhnnEOPjXgD/euD64cxwqDIqckUaisT3VCst11RcnO5iRHm6meNIwj0BALLmWplyi7beKrOlqKfuZtCLbiAPywGfCNg8LOTt4iMD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.0 MIME-Version: 1.0 X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_NUMSUBJECT,LIKELY_SPAM_FROM,SPF_HELO_PASS,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 List-Id: On Mon, 2023-09-25 at 16:26 +0800, chenglulu wrote: > LGTM! >=20 > Thank you for your modification! Pushed r14-4250. > =E5=9C=A8 2023/9/25 =E4=B8=8B=E5=8D=884:13, Xi Ruoyao =E5=86=99=E9=81=93: > > gcc/ChangeLog: > >=20 > > * doc/invoke.texi: Update -m[no-]explicit-relocs for r14-4160. > > --- > >=20 > > I've not regtested this as it's only a doc change.=C2=A0 Ok for trunk? > >=20 > > =C2=A0 gcc/doc/invoke.texi | 10 ++++++---- > > =C2=A0 1 file changed, 6 insertions(+), 4 deletions(-) > >=20 > > 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}. > > =C2=A0 @itemx -mno-explicit-relocs > > =C2=A0 Use or do not use assembler relocation operators when dealing wi= th symbolic > > =C2=A0 addresses.=C2=A0 The alternative is to use assembler macros inst= ead, which may > > -limit optimization.=C2=A0 The default value for the option is determin= ed during > > -GCC build-time by detecting corresponding assembler support: > > -@code{-mexplicit-relocs} if said support is present, > > -@code{-mno-explicit-relocs} otherwise.=C2=A0 This option is mostly use= ful for > > +limit instruction scheduling but allow linker relaxation.=C2=A0 The de= fault > > +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.=C2=A0 This option is mostly useful= for > > =C2=A0 debugging, or interoperation with assemblers different from the = build-time > > =C2=A0 one. > > =C2=A0=20 >=20 --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University